diff --git a/lib/core/optimize.js b/lib/core/optimize.js index fd5b74c..f29f9ab 100644 --- a/lib/core/optimize.js +++ b/lib/core/optimize.js @@ -86,7 +86,6 @@ module.exports = class WebpackOptimize { } } }, args); - this.optimization.minimize = false; this.optimization.minimizer = [ new UglifyJsPlugin(options) ]; } } diff --git a/package.json b/package.json index 3bfd0a9..3c45c0a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "easywebpack", - "version": "4.11.1", + "version": "4.11.2", "description": "基于 Webpack 的前端构建工程化解决方案", "keywords": [ "webpack",