We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cfbdbc commit 7ac3320Copy full SHA for 7ac3320
packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/browser.ts
@@ -56,7 +56,7 @@ export function getBrowserConfig(wco: WebpackConfigOptions) {
56
}));
57
}
58
59
- if (buildOptions.extractLicenses) {
+ if (buildOptions.optimization && buildOptions.extractLicenses) {
60
extraPlugins.push(new LicenseWebpackPlugin({
61
stats: {
62
warnings: false,
0 commit comments