From 1329d43ca6135d003264bbd283f69215597c64ae Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Mon, 3 Oct 2022 13:36:12 +0300 Subject: [PATCH] Disable inline critical css in angular.json --- angular.json | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/angular.json b/angular.json index 589b20b..145477d 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, @@ -87,7 +94,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, @@ -125,7 +139,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,