Skip to content

Commit d9a8a4f

Browse files
committed
test(@nguniversal/builders): add E2E for critical css inlining
1 parent d5874e0 commit d9a8a4f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

integration/express-engine-ivy-hybrid/angular.json

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
2+
"$schema": "../../node_modules/@angular/cli/lib/config/schema.json",
33
"version": 1,
44
"newProjectRoot": "projects",
55
"projects": {
@@ -61,7 +61,13 @@
6161
"with": "src/environments/environment.prod.ts"
6262
}
6363
],
64-
"optimization": true,
64+
"optimization": {
65+
"styles": {
66+
"inlineCritical": true,
67+
"minify": true
68+
},
69+
"scripts": true
70+
},
6571
"outputHashing": "all",
6672
"sourceMap": false,
6773
"namedChunks": false,

0 commit comments

Comments
 (0)