tune packages to use mobx

This commit is contained in:
Maxim Kadushkin 2020-09-29 21:57:01 +03:00
parent a719c6e582
commit ce969e9ca6
2 changed files with 5 additions and 1 deletions

View file

@ -8,6 +8,7 @@ module.exports = {
plugins: [
'@babel/plugin-transform-runtime',
'@babel/plugin-syntax-dynamic-import',
'@babel/plugin-proposal-class-properties',
['@babel/plugin-proposal-decorators', {'legacy': true }],
['@babel/plugin-proposal-class-properties',{'loose':true}],
],
};

View file

@ -36,6 +36,7 @@
"devDependencies": {
"@babel/core": "^7.11.0",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-decorators": "^7.10.5",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.11.0",
"@babel/preset-env": "^7.11.0",
@ -53,6 +54,8 @@
"less": "^3.12.2",
"less-loader": "^6.2.0",
"mini-css-extract-plugin": "^0.9.0",
"mobx": "^5.15.7",
"mobx-react": "^6.3.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"ora": "^4.0.5",
"postcss-loader": "^3.0.0",