Skip to content

Commit

Permalink
feat(@schematics/angular): add default budget of 2mb/5mb
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenFluin authored and hansl committed Sep 26, 2018
1 parent a121c4c commit 1cd4ce8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/schematics/angular/application/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ function addAppToWorkspaceFile(options: ApplicationOptions, workspace: Workspace
extractLicenses: true,
vendorChunk: false,
buildOptimizer: true,
budgets: [{
type: 'initial',
maximumWarning: '2mb',
maximumError: '5mb',
}],
},
},
},
Expand Down

0 comments on commit 1cd4ce8

Please sign in to comment.