Skip to content

Handle --prod deprecation more gracefully #21036

Closed
@drullo

Description

@drullo

🚀 Feature request

Command

  • update

Description

--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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions