Skip to content

Commit 9300627

Browse files
clydinKeen Yee Liau
authored and
Keen Yee Liau
committed
fix(@angular-devkit/build-angular): disable extract comments for webpack terser plugin
terser-webpack-plugin 2.0.0+ enables the extract comments option by default which is not used by the CLI.
1 parent fe86660 commit 9300627

File tree

1 file changed

+1
-0
lines changed
  • packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs

1 file changed

+1
-0
lines changed

packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/common.ts

+1
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ export function getCommonConfig(wco: WebpackConfigOptions): Configuration {
374374
sourceMap: scriptsSourceMap,
375375
parallel: true,
376376
cache: true,
377+
extractComments: false,
377378
terserOptions,
378379
}),
379380
);

0 commit comments

Comments
 (0)