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