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" "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"