diff --git a/examples/with-mobx/.babelrc b/examples/with-mobx/.babelrc index 47a96baf..e1d3c7e0 100644 --- a/examples/with-mobx/.babelrc +++ b/examples/with-mobx/.babelrc @@ -3,6 +3,7 @@ "next/babel" ], "plugins": [ - "transform-decorators-legacy" + "transform-decorators-legacy", + "transform-class-properties" ] -} \ No newline at end of file +} diff --git a/examples/with-mobx/package.json b/examples/with-mobx/package.json index d4166532..89dd33a2 100644 --- a/examples/with-mobx/package.json +++ b/examples/with-mobx/package.json @@ -15,6 +15,7 @@ }, "license": "ISC", "devDependencies": { + "babel-plugin-transform-class-properties": "^6.24.1", "babel-plugin-transform-decorators-legacy": "^1.3.4" } }