We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a54877 commit 47c03b0Copy full SHA for 47c03b0
packages/angular_devkit/build_angular/src/webpack/plugins/any-component-style-budget-checker.ts
@@ -37,6 +37,11 @@ export class AnyComponentStyleBudgetChecker {
37
stage: Compilation.PROCESS_ASSETS_STAGE_ANALYSE,
38
},
39
() => {
40
+ // No budgets.
41
+ if (this.budgets.length === 0) {
42
+ return;
43
+ }
44
+
45
// In AOT compilations component styles get processed in child compilations.
46
if (!compilation.compiler.parentCompilation) {
47
return;
0 commit comments