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

Update with-mobx example (#5229)

Update to new @babel/plugin-proposal-decorators, @babel/plugin-proposal-class-properties plugins version.
This commit is contained in:
Eugene 2018-09-20 15:29:57 +03:00 committed by Tim Neutkens
parent 2d763e08a8
commit 648e07f187
2 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@
"next/babel" "next/babel"
], ],
"plugins": [ "plugins": [
"transform-decorators-legacy", ["@babel/plugin-proposal-decorators", { "legacy": true }],
"transform-class-properties" ["@babel/plugin-proposal-class-properties", { "loose": true }]
] ]
} }

View file

@ -15,7 +15,7 @@
}, },
"license": "ISC", "license": "ISC",
"devDependencies": { "devDependencies": {
"babel-plugin-transform-class-properties": "^6.24.1", "@babel/plugin-proposal-class-properties": "^7.1.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4" "@babel/plugin-proposal-decorators": "^7.1.0",
} }
} }