Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): disable extract comments for webp…
Browse files Browse the repository at this point in the history
…ack terser plugin

terser-webpack-plugin 2.0.0+ enables the extract comments option by default which is not used by the CLI.
  • Loading branch information
clydin authored and Keen Yee Liau committed Sep 10, 2019
1 parent fe86660 commit 9300627
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ export function getCommonConfig(wco: WebpackConfigOptions): Configuration {
sourceMap: scriptsSourceMap,
parallel: true,
cache: true,
extractComments: false,
terserOptions,
}),
);
Expand Down

0 comments on commit 9300627

Please sign in to comment.