Skip to content

Commit 1cd4ce8

Browse files
StephenFluinhansl
authored andcommittedSep 26, 2018
feat(@schematics/angular): add default budget of 2mb/5mb
1 parent a121c4c commit 1cd4ce8

File tree

1 file changed

+5
-0
lines changed
  • packages/schematics/angular/application

1 file changed

+5
-0
lines changed
 

‎packages/schematics/angular/application/index.ts

+5
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,11 @@ function addAppToWorkspaceFile(options: ApplicationOptions, workspace: Workspace
173173
extractLicenses: true,
174174
vendorChunk: false,
175175
buildOptimizer: true,
176+
budgets: [{
177+
type: 'initial',
178+
maximumWarning: '2mb',
179+
maximumError: '5mb',
180+
}],
176181
},
177182
},
178183
},

0 commit comments

Comments
 (0)