Skip to content

Commit

Permalink
fix(storybook/angular): add defaults value to the budgets property
Browse files Browse the repository at this point in the history
Closes #9206
  • Loading branch information
nickbullock committed Dec 20, 2019
1 parent 00d5b37 commit d230210
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/angular/src/server/angular-cli_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export function getAngularCliWebpackConfigOptions(dirToSearch: Path) {
const projectRoot = path.resolve(dirToSearch, project.root);
const tsConfigPath = path.resolve(dirToSearch, projectOptions.tsConfig) as Path;
const tsConfig = getTsConfigOptions(tsConfigPath);
const budgets = projectOptions.budgets || [];

return {
root: dirToSearch,
Expand All @@ -101,6 +102,7 @@ export function getAngularCliWebpackConfigOptions(dirToSearch: Path) {
optimization: {},
...projectOptions,
assets: normalizedAssets,
budgets
},
};
}
Expand Down

0 comments on commit d230210

Please sign in to comment.