1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

fix: update with-mobx example (#5936)

Babel related content in README.md is updated according to the updated .babelrc
This commit is contained in:
Zihua Wu 2018-12-23 18:20:27 +08:00 committed by Tim Neutkens
parent 62905ce683
commit 24400d1e61

View file

@ -47,7 +47,8 @@ This example is a mobx port of the [with-redux](https://github.com/zeit/next.js/
"next/babel"
],
"plugins": [
"transform-decorators-legacy"
["@babel/plugin-proposal-decorators", { "legacy": true }],
["@babel/plugin-proposal-class-properties", { "loose": true }]
]
}
```