Skip to content

Commit

Permalink
[FIX] reduce build time at the price of a slightly increased code size (
Browse files Browse the repository at this point in the history
#37)

Documentation of uglify-es suggests that compress:false already achieves
a very good code size reduction at a much higher speed, see
https://github.com/mishoo/UglifyJS2/tree/harmony#uglify-fast-minify-mode
  • Loading branch information
codeworrior authored Jun 25, 2018
1 parent 55b1e89 commit 1fb8d00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/processors/uglifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ module.exports = function({resources}) {
warnings: false,
output: {
comments: copyrightCommentsPattern
}
},
compress: false
});
if (result.error) {
throw new Error(
Expand Down

0 comments on commit 1fb8d00

Please sign in to comment.