File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
docs/documentation/stories Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 44
55As applications grow in functionality, they also grow in size. Budgets is a feature in the
66Angular CLI which allows you to set budget thresholds in your configuration to ensure parts
7- of your application stay within boundries which you set.
7+ of your application stay within boundaries which you set.
88
99** angular.json**
1010```
@@ -62,3 +62,24 @@ Available formats:
6262
6363All sizes are relative to baseline.
6464Percentages are not valid for baseline values.
65+
66+ ## Example
67+
68+ ```
69+ {
70+ ...
71+ "configurations": {
72+ "production": {
73+ ...
74+ budgets: [
75+ {
76+ "type": "bundle",
77+ "name": "vendor",
78+ "minimumWarning": "300kb",
79+ "minimumError": "400kb",
80+ }
81+ ]
82+ }
83+ }
84+ }
85+ ```
You can’t perform that action at this time.
0 commit comments