From a432074b9f2cd366acf513ed2c15e6e4130099a0 Mon Sep 17 00:00:00 2001 From: Florian Schwanz Date: Tue, 5 Nov 2024 08:59:10 +0100 Subject: [PATCH] chore: simplify configuration --- angular.json | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/angular.json b/angular.json index 44f77f6..3b8c4ae 100644 --- a/angular.json +++ b/angular.json @@ -37,9 +37,6 @@ "configurations": { "regular": { "outputPath": "dist", - "aot": true, - "serviceWorker": false, - "ngswConfigPath": "src/ngsw-config.json", "optimization": { "scripts": true, "styles": { @@ -47,7 +44,23 @@ "inlineCritical": false }, "fonts": true - } + }, + "outputHashing": "all", + "sourceMap": false, + "namedChunks": false, + "aot": false, + "extractLicenses": false, + "vendorChunk": false, + "buildOptimizer": false, + "budgets": [ + { + "type": "initial", + "maximumWarning": "2mb", + "maximumError": "5mb" + } + ], + "serviceWorker": false, + "ngswConfigPath": "src/ngsw-config.json" }, "regular-production": { "outputPath": "dist", @@ -228,5 +241,8 @@ } } } + }, + "cli": { + "analytics": false } }