Skip to content

Remove ngcc postinstall #10

Description

@floogulinc

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions