-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
"postinstall": "ngcc" |
We should remove this postinstall
step. Compiling the libraries in the postinstall step is much slower than allowing Angular to automatically do it at build time because when you run ngcc
it compiles every library (regardless of if you are actually using it) into every possible format while letting it run at build conservatively compiles only what is needed. Running ngcc
on postinstall
works out OK for local development because the compiled libraries are cached but it definitely has a negative effect in GitHub Actions and Docker builds.
Metadata
Metadata
Assignees
Labels
No labels