Skip to content

JavaScript production guide needs to be updated for Angular 12 #2687

@mraible

Description

@mraible

Affected page(s):

https://developer.okta.com/docs/guides/deploy-your-app/javascript/

Describe the problem(s):

Angular 12's ng build does a production build by default, so --prod is no longer needed.

https://angular.io/cli/build

See https://github.com/okta-samples/okta-angular-sample/blob/main/package.json#L5 to see what the latest version of the Angular CLI generates for scripts.

If possible, describe a proposed fix:

Update scripts to match what the Angular CLI generates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions