Skip to content

Commit d4bb6c3

Browse files
committed
feat(@schematics/angular): use ngcc on postinstall
This should improve the time first builds take. Part of angular/angular#32999 Blocked on an Angular release that includes angular/angular#33049
1 parent 0d70565 commit d4bb6c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/schematics/angular/workspace/files/package.json.template

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"build": "ng build",
88
"test": "ng test",
99
"lint": "ng lint",
10-
"e2e": "ng e2e"
10+
"e2e": "ng e2e",
11+
"postinstall": "ivy-ngcc --properties es2015 --create-new-entry-points"
1112
},
1213
"private": true,
1314
"dependencies": {

0 commit comments

Comments
 (0)