Skip to content

Commit 62fac41

Browse files
filipesilvahansl
authored andcommitted
feat(@angular/cli): use cache in uglifyjs-webpack-plugin
1 parent aa8b80c commit 62fac41

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: packages/@angular/cli/models/webpack-configs/production.ts

+1
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ export function getProdConfig(wco: WebpackConfigOptions) {
152152
new UglifyJSPlugin({
153153
sourceMap: buildOptions.sourcemaps,
154154
parallel: true,
155+
cache: true,
155156
uglifyOptions: {
156157
ecma: wco.supportES2015 ? 6 : 5,
157158
warnings: buildOptions.verbose,

0 commit comments

Comments
 (0)