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 2
2
3
3
As applications grow in functionality, they also grow in size. Budgets is a feature in the
4
4
Angular CLI which allows you to set budget thresholds in your configuration to ensure parts
5
- of your application stay within boundries which you set.
5
+ of your application stay within boundaries which you set.
6
6
7
7
** angular.json**
8
8
```
@@ -60,3 +60,24 @@ Available formats:
60
60
61
61
All sizes are relative to baseline.
62
62
Percentages are not valid for baseline values.
63
+
64
+ ## Example
65
+
66
+ ```
67
+ {
68
+ ...
69
+ "configurations": {
70
+ "production": {
71
+ ...
72
+ budgets: [
73
+ {
74
+ "type": "bundle",
75
+ "name": "vendor",
76
+ "minimumWarning": "300kb",
77
+ "minimumError": "400kb",
78
+ }
79
+ ]
80
+ }
81
+ }
82
+ }
83
+ ```
You can’t perform that action at this time.
0 commit comments