Skip to content

Commit

Permalink
fix: minimize not set
Browse files Browse the repository at this point in the history
  • Loading branch information
hubcarl committed Nov 22, 2018
1 parent 95e2e71 commit 068003f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/core/optimize.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ module.exports = class WebpackOptimize {
}
}
}, args);
this.optimization.minimize = false;
this.optimization.minimizer = [ new UglifyJsPlugin(options) ];
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "easywebpack",
"version": "4.11.1",
"version": "4.11.2",
"description": "基于 Webpack 的前端构建工程化解决方案",
"keywords": [
"webpack",
Expand Down

0 comments on commit 068003f

Please sign in to comment.