You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--prod has been deprecated for ng build. However, I would think that most apps probably have build/deploy automation scripts configured in package.json, which will be affected by this change.
Describe the solution you'd like
I would like to see ng update automate the change of package.json scripts so that --prod is automatically changed to --configuration production.
Describe alternatives you've considered
The alternative is disruptive and painful for the end user... Either manually updating every single project, or developing our own automated process - resulting in varying experiences.
The text was updated successfully, but these errors were encountered:
With this change we add migration to replace the deprecated `--prod` with `--configuration production` in the scripts section of the package.json.
Closes#21036
🚀 Feature request
Command
Description
--prod
has been deprecated forng build
. However, I would think that most apps probably have build/deploy automation scripts configured in package.json, which will be affected by this change.Describe the solution you'd like
I would like to see
ng update
automate the change of package.json scripts so that--prod
is automatically changed to--configuration production
.Describe alternatives you've considered
The alternative is disruptive and painful for the end user... Either manually updating every single project, or developing our own automated process - resulting in varying experiences.
The text was updated successfully, but these errors were encountered: