Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mraible opened this issue Oct 27, 2021 · 1 comment
Open

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

mraible opened this issue Oct 27, 2021 · 1 comment

Comments

@mraible
Copy link
Contributor

mraible commented Oct 27, 2021

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.

@janethu-okta
Copy link
Contributor

Hi Matt,
Create a JIRA ticket for the team to investigate and fix the issue.
https://oktainc.atlassian.net/browse/OKTA-479141

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants