-
Notifications
You must be signed in to change notification settings - Fork 12k
Default AOT to true in prod #4138
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
Comments
This + i18n can bring headaches to users |
@tsabirgaliev what problems do you predict? Mind you that it's a default, you can always do |
@filipesilva Yes, you are right, actually no big problems. Just disabling AoT will solve that. |
The title is a bit misleading then. It probably should be "Default to AOT in prod". |
Fix #4138 BREAKING CHANGE: - `--extractCss` defaults to `false` on all `--dev` (`ng build` with no flags uses `--dev`) - `--aot` defaults to true in `--prod` - the alias for `--output-path` is now `-op` instead of `-o`
Fix angular#4138 BREAKING CHANGE: - `--extractCss` defaults to `false` on all `--dev` (`ng build` with no flags uses `--dev`) - `--aot` defaults to true in `--prod` - the alias for `--output-path` is now `-op` instead of `-o`
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Just set the AOT default to true for production builds.
The text was updated successfully, but these errors were encountered: