Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): fix extractLicenses default
Browse files Browse the repository at this point in the history
It should be false so that it doesn't affect dev builds. The default production config has it set to true already.

Partially address angular#12432.
  • Loading branch information
filipesilva committed Oct 10, 2018
1 parent 0cfbdbc commit 7ac3320
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function getBrowserConfig(wco: WebpackConfigOptions) {
}));
}

if (buildOptions.extractLicenses) {
if (buildOptions.optimization && buildOptions.extractLicenses) {
extraPlugins.push(new LicenseWebpackPlugin({
stats: {
warnings: false,
Expand Down

0 comments on commit 7ac3320

Please sign in to comment.