1. update webpack version.
2. remove side effects config.
正在显示
... | @@ -12,7 +12,6 @@ | ... | @@ -12,7 +12,6 @@ |
"engines": { | "engines": { | ||
"install-node": "6.9.2" | "install-node": "6.9.2" | ||
}, | }, | ||
"sideEffects": false, | |||
"dependencies": { | "dependencies": { | ||
"@babel/runtime": "^7.0.0-beta.44", | "@babel/runtime": "^7.0.0-beta.44", | ||
"antd": "^3.3.0", | "antd": "^3.3.0", | ||
... | @@ -120,7 +119,7 @@ | ... | @@ -120,7 +119,7 @@ |
"style-loader": "^0.20.3", | "style-loader": "^0.20.3", | ||
"uglifyjs-webpack-plugin": "^1.2.4", | "uglifyjs-webpack-plugin": "^1.2.4", | ||
"url-loader": "^1.0.1", | "url-loader": "^1.0.1", | ||
"webpack": "^4.5.0", | "webpack": "^4.6.0", | ||
"webpack-bundle-analyzer": "^2.11.1", | "webpack-bundle-analyzer": "^2.11.1", | ||
"webpack-cli": "^2.0.14", | "webpack-cli": "^2.0.14", | ||
"webpack-dev-server": "^3.1.3", | "webpack-dev-server": "^3.1.3", | ||
... | ... |
请
注册
或者
登录
后发表评论