Skip to content

Commit b319ea6

Browse files
committed
refactor: Enables uglify thread pool by default
1 parent bf93a87 commit b319ea6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/WebpackOptionsDefaulter.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ class WebpackOptionsDefaulter extends OptionsDefaulter {
141141
const UglifyJsPlugin = require("uglifyjs-webpack-plugin");
142142
new UglifyJsPlugin({
143143
cache: true,
144+
parallel: true,
144145
sourceMap: options.devtool && /source-?map/.test(options.devtool)
145146
}).apply(compiler);
146147
}

0 commit comments

Comments
 (0)