提交 14ae8259 authored 作者: vipcxj's avatar vipcxj

更新webpack和babel的依赖版本,去除过时的babel插件

上级 b344d635
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -16,7 +16,7 @@
"ie >= 9"
],
"dependencies": {
"@babel/runtime": "^7.0.0-beta.46",
"@babel/runtime": "^7.0.0-beta.49",
"antd": "^3.4.3",
"axo": "0.0.2",
"bowser": "^1.9.3",
......@@ -47,30 +47,28 @@
"xml2js": "^0.4.19"
},
"devDependencies": {
"@babel/core": "^7.0.0-beta.46",
"@babel/helper-plugin-utils": "^7.0.0-beta.46",
"@babel/plugin-proposal-async-generator-functions": "^7.0.0-beta.46",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.46",
"@babel/plugin-proposal-decorators": "^7.0.0-beta.46",
"@babel/plugin-proposal-do-expressions": "^7.0.0-beta.46",
"@babel/plugin-proposal-export-default": "^7.0.0-beta.32",
"@babel/plugin-proposal-export-default-from": "^7.0.0-beta.46",
"@babel/plugin-proposal-export-namespace": "^7.0.0-beta.32",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0-beta.46",
"@babel/plugin-proposal-function-bind": "^7.0.0-beta.46",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0-beta.46",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.46",
"@babel/plugin-proposal-optional-catch-binding": "^7.0.0-beta.46",
"@babel/plugin-proposal-optional-chaining": "^7.0.0-beta.46",
"@babel/plugin-proposal-pipeline-operator": "^7.0.0-beta.46",
"@babel/plugin-syntax-dynamic-import": "^7.0.0-beta.46",
"@babel/plugin-transform-react-constant-elements": "^7.0.0-beta.46",
"@babel/plugin-transform-react-inline-elements": "^7.0.0-beta.46",
"@babel/plugin-transform-runtime": "^7.0.0-beta.46",
"@babel/polyfill": "^7.0.0-beta.46",
"@babel/preset-env": "^7.0.0-beta.46",
"@babel/preset-react": "^7.0.0-beta.46",
"@babel/register": "^7.0.0-beta.46",
"@babel/core": "^7.0.0-beta.49",
"@babel/helper-plugin-utils": "^7.0.0-beta.49",
"@babel/plugin-proposal-async-generator-functions": "^7.0.0-beta.49",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.49",
"@babel/plugin-proposal-decorators": "^7.0.0-beta.49",
"@babel/plugin-proposal-do-expressions": "^7.0.0-beta.49",
"@babel/plugin-proposal-export-default-from": "^7.0.0-beta.49",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0-beta.49",
"@babel/plugin-proposal-function-bind": "^7.0.0-beta.49",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0-beta.49",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.49",
"@babel/plugin-proposal-optional-catch-binding": "^7.0.0-beta.49",
"@babel/plugin-proposal-optional-chaining": "^7.0.0-beta.49",
"@babel/plugin-proposal-pipeline-operator": "^7.0.0-beta.49",
"@babel/plugin-syntax-dynamic-import": "^7.0.0-beta.49",
"@babel/plugin-transform-react-constant-elements": "^7.0.0-beta.49",
"@babel/plugin-transform-react-inline-elements": "^7.0.0-beta.49",
"@babel/plugin-transform-runtime": "^7.0.0-beta.49",
"@babel/polyfill": "^7.0.0-beta.49",
"@babel/preset-env": "^7.0.0-beta.49",
"@babel/preset-react": "^7.0.0-beta.49",
"@babel/register": "^7.0.0-beta.49",
"@storybook/addon-actions": "^4.0.0-alpha.3",
"@storybook/addon-info": "^4.0.0-alpha.3",
"@storybook/addon-links": "^4.0.0-alpha.3",
......@@ -123,11 +121,11 @@
"style-loader": "^0.21.0",
"uglifyjs-webpack-plugin": "^1.2.5",
"url-loader": "^1.0.1",
"webpack": "^4.6.0",
"webpack-bundle-analyzer": "^2.11.1",
"webpack": "^4.9.1",
"webpack-bundle-analyzer": "^2.13.1",
"webpack-cli": "^2.0.15",
"webpack-dev-server": "^3.1.3",
"webpack-manifest-plugin": "^2.0.1",
"webpack-dev-server": "^3.1.4",
"webpack-manifest-plugin": "^2.0.3",
"webpack-merge": "^4.1.2"
}
}
......@@ -12,8 +12,6 @@ const plugins = [
['@babel/proposal-class-properties', {
loose: true,
}],
'@babel/plugin-proposal-export-namespace',
'@babel/plugin-proposal-export-default',
'@babel/plugin-proposal-export-namespace-from',
'@babel/plugin-proposal-export-default-from',
'@babel/plugin-proposal-nullish-coalescing-operator',
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论