From 2f83388fcedfd85d8db0fcfb0ca40a47ba79ef49 Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Mon, 3 Oct 2022 16:30:45 +0300 Subject: [PATCH] [Aggregator | angular-14]: angular.json: Updated optimization configuration to set "inlineCritical": false. --- angular.json | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/angular.json b/angular.json index aeef7c6..c7c9f74 100644 --- a/angular.json +++ b/angular.json @@ -61,7 +61,14 @@ }, "configurations": { "development": { - "optimization": true, + "optimization": { + "scripts": true, + "styles": { + "minify": true, + "inlineCritical": false + }, + "fonts": true + }, "outputHashing": "all", "sourceMap": false, "namedChunks": false, @@ -99,7 +106,14 @@ "with": "src/environments/environment.beta.ts" } ], - "optimization": true, + "optimization": { + "scripts": true, + "styles": { + "minify": true, + "inlineCritical": false + }, + "fonts": true + }, "outputHashing": "all", "sourceMap": false, "namedChunks": false, @@ -137,7 +151,14 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, + "optimization": { + "scripts": true, + "styles": { + "minify": true, + "inlineCritical": false + }, + "fonts": true + }, "outputHashing": "all", "sourceMap": false, "namedChunks": false,