Skip to content

Commit 1fb8d00

Browse files
authored
[FIX] reduce build time at the price of a slightly increased code size (#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
1 parent 55b1e89 commit 1fb8d00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/processors/uglifier.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ module.exports = function({resources}) {
1818
warnings: false,
1919
output: {
2020
comments: copyrightCommentsPattern
21-
}
21+
},
22+
compress: false
2223
});
2324
if (result.error) {
2425
throw new Error(

0 commit comments

Comments
 (0)