Skip to content

Commit

Permalink
feat(@angular/cli): use cache in uglifyjs-webpack-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
filipesilva authored and hansl committed Jan 23, 2018
1 parent aa8b80c commit 62fac41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@angular/cli/models/webpack-configs/production.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ export function getProdConfig(wco: WebpackConfigOptions) {
new UglifyJSPlugin({
sourceMap: buildOptions.sourcemaps,
parallel: true,
cache: true,
uglifyOptions: {
ecma: wco.supportES2015 ? 6 : 5,
warnings: buildOptions.verbose,
Expand Down

0 comments on commit 62fac41

Please sign in to comment.