build: adjust initial and component style budgets in angular.json
This commit is contained in:
+5
-8
@@ -26,23 +26,20 @@
|
||||
"output": "assets"
|
||||
}
|
||||
],
|
||||
"styles": [
|
||||
"node_modules/ngx-toastr/toastr.css",
|
||||
"src/styles.css"
|
||||
]
|
||||
"styles": ["node_modules/ngx-toastr/toastr.css", "src/styles.css"]
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
"budgets": [
|
||||
{
|
||||
"type": "initial",
|
||||
"maximumWarning": "1.5MB",
|
||||
"maximumError": "2MB"
|
||||
"maximumWarning": "2MB",
|
||||
"maximumError": "3MB"
|
||||
},
|
||||
{
|
||||
"type": "anyComponentStyle",
|
||||
"maximumWarning": "8kB",
|
||||
"maximumError": "12kB"
|
||||
"maximumWarning": "20kB",
|
||||
"maximumError": "30kB"
|
||||
}
|
||||
],
|
||||
"outputHashing": "all"
|
||||
|
||||
Reference in New Issue
Block a user