From 89c6bc6d44024b120b3a29c856d5e56f2732fcbc Mon Sep 17 00:00:00 2001 From: amirhosein mazaheri Date: Mon, 12 Oct 2026 17:52:07 +0330 Subject: [PATCH] build: adjust initial and component style budgets in angular.json --- angular.json | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/angular.json b/angular.json index b521570..b6985d9 100644 --- a/angular.json +++ b/angular.json @@ -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"