Disable inline critical css in angular.json

This commit is contained in:
Konstantinos Triantafyllou 2022-10-03 13:36:12 +03:00
parent 371720080e
commit 1329d43ca6
1 changed files with 24 additions and 3 deletions

View File

@ -61,7 +61,14 @@
}, },
"configurations": { "configurations": {
"development": { "development": {
"optimization": true, "optimization": {
"scripts": true,
"styles": {
"minify": true,
"inlineCritical": false
},
"fonts": true
},
"outputHashing": "all", "outputHashing": "all",
"sourceMap": false, "sourceMap": false,
"namedChunks": false, "namedChunks": false,
@ -87,7 +94,14 @@
"with": "src/environments/environment.beta.ts" "with": "src/environments/environment.beta.ts"
} }
], ],
"optimization": true, "optimization": {
"scripts": true,
"styles": {
"minify": true,
"inlineCritical": false
},
"fonts": true
},
"outputHashing": "all", "outputHashing": "all",
"sourceMap": false, "sourceMap": false,
"namedChunks": false, "namedChunks": false,
@ -125,7 +139,14 @@
"with": "src/environments/environment.prod.ts" "with": "src/environments/environment.prod.ts"
} }
], ],
"optimization": true, "optimization": {
"scripts": true,
"styles": {
"minify": true,
"inlineCritical": false
},
"fonts": true
},
"outputHashing": "all", "outputHashing": "all",
"sourceMap": false, "sourceMap": false,
"namedChunks": false, "namedChunks": false,