Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(@schematics/angular): remove environment files in new applications #23931

Merged
merged 1 commit into from Sep 27, 2022

Commits on Sep 27, 2022

  1. feat(@schematics/angular): remove environment files in new applications

    This commit removes the usage of environment files and `fileReplacements` in new application projects. Previously, the environment files was used to distinguish between a prod build to invoke `enableProdMode`. The `enableProdMode` however needed only for the case of JIT mode in production mode, which is a rare case as JIT mode is recommanded to be used in production.
    
    In the CLI, calling `enableProdMode` is not needed as `ngDevMode` it's set using the minifier.
    alan-agius4 committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    e271e11 View commit details
    Browse the repository at this point in the history