Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 92ea3e6

Browse files
committed
test(@nguniversal/builders): add E2E for critical css inlining
(cherry picked from commit d9a8a4f)
1 parent 09207ad commit 92ea3e6

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

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

Lines changed: 8 additions & 2 deletions
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)