Commit e8c7dd49 authored by yhirano55's avatar yhirano55 Committed by Tim Neutkens

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`
parent 4b0f10ba
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
"next/babel" "next/babel"
], ],
"plugins": [ "plugins": [
"transform-decorators-legacy" "transform-decorators-legacy",
"transform-class-properties"
] ]
} }
\ No newline at end of file
...@@ -15,6 +15,7 @@ ...@@ -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"
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment