Just set the AOT default to true for production builds.
Activity
tsabirgaliev commentedon Jan 21, 2017
This + i18n can bring headaches to users
filipesilva commentedon Jan 21, 2017
@tsabirgaliev what problems do you predict? Mind you that it's a default, you can always do
ng build prod --no-aot.tsabirgaliev commentedon Jan 21, 2017
@filipesilva Yes, you are right, actually no big problems. Just disabling AoT will solve that.
cacogr commentedon Jan 24, 2017
The title is a bit misleading then. It probably should be "Default to AOT in prod".
refactor(build): consolidate build options (#4105)
[-]Force AOT in prod[/-][+]Default AOT to true in prod[/+]refactor(build): consolidate build options (angular#4105)
angular-automatic-lock-bot commentedon Sep 6, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
refactor(build): consolidate build options (angular#4105)