build: adjust initial and component style budgets in angular.json

This commit is contained in:
amirhosein mazaheri
2026-10-12 17:52:07 +03:30
parent 97427a1581
commit 89c6bc6d44
+5 -8
View File
@@ -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"