Skip to content

build --optimization documentation is incomplete #11856

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

Closed
charlesritchea opened this issue Aug 10, 2018 · 4 comments · Fixed by #11862
Closed

build --optimization documentation is incomplete #11856

charlesritchea opened this issue Aug 10, 2018 · 4 comments · Fixed by #11862
Labels
Milestone

Comments

@charlesritchea
Copy link

charlesritchea commented Aug 10, 2018

From the documentation for the ng build command at https://github.com/angular/angular-cli/wiki/build

--optimization

    Defines the optimization level of the build. 

What are the valid levels? Reading this documentation, I have no idea how to use this option.

@alan-agius4
Copy link
Collaborator

@novaterata I think the documentation wording there might be a bit misleading

optimization can only be true or false. true being production and false being development

@charlesritchea
Copy link
Author

charlesritchea commented Aug 11, 2018 via email

@alexeagle
Copy link
Contributor

The legal values and/or datatype of the option should be included

@filipesilva filipesilva added the area: docs Related to the documentation label Aug 15, 2018
alexeagle pushed a commit that referenced this issue Aug 15, 2018
At the moment, the definition might suggest that `optimization` takes some values other than `true` and `false`

Close: #11856
alexeagle pushed a commit that referenced this issue Aug 15, 2018
At the moment, the definition might suggest that `optimization` takes some values other than `true` and `false`

Close: #11856
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants