mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Fix with-mobx example (#4394)
fixes #4390 * Installing only `babel-plugin-transform-decorators-legacy` didn't work * It also needs to install `babel-plugin-transform-class-properties`
This commit is contained in:
parent
4b0f10ba93
commit
e8c7dd4958
|
@ -3,6 +3,7 @@
|
||||||
"next/babel"
|
"next/babel"
|
||||||
],
|
],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"transform-decorators-legacy"
|
"transform-decorators-legacy",
|
||||||
|
"transform-class-properties"
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -15,6 +15,7 @@
|
||||||
},
|
},
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
||||||
"babel-plugin-transform-decorators-legacy": "^1.3.4"
|
"babel-plugin-transform-decorators-legacy": "^1.3.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue