-
Couldn't load subscription status.
- Fork 11.9k
Closed
Labels
Milestone
Description
🚀 Feature request
I know this is tough due to it being a breaking change with the ecosystem, but I think ng build should do a production build by default.
Command (mark with an x)
- [x] build
Description
Most of the time, developers should be building for production, and serving for development. It would save a lot of time overall if ng build defaulted to production mode.
Describe the solution you'd like
During the update process to 9 (or some other version), prompt the user if they want to keep the current behavior or migrate to the new behavior, and then default all new projects with ng new to production by default.
Describe alternatives you've considered
None
hsuanxyz, wzhudev, doggy8088, simonua, duongleh and 4 more