Skip to content

Docs on "build" page show no hyphen for "build". #3883

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
tcoz opened this issue Jan 6, 2017 · 5 comments
Closed

Docs on "build" page show no hyphen for "build". #3883

tcoz opened this issue Jan 6, 2017 · 5 comments

Comments

@tcoz
Copy link

tcoz commented Jan 6, 2017

AT this link, take a look at the instructions for "build".

There's some confusion. Is it ng build:

--prod
-prod
prod

?

I cloned the wiki and it looks like --prod is correct. But maybe all three work? I ran all three and there's no errors, --prod and -prod seem to do the same thing, plain "prod" seems to get ignored.

@hansl
Copy link
Contributor

hansl commented Jan 6, 2017

--prod is the proper one; -prod works but IMO shouldn't, prod shouldn't work and that's correct.

@tcoz
Copy link
Author

tcoz commented Jan 7, 2017

Right, this makes the docs confusing though, since it says "prod", the other two args have hyphens, and elsewhere you can find --prod. It'd probably be a good idea to make that crystal clear in the docs.

@RicardoVaranda
Copy link
Contributor

You are correct I have created #3915 to resolve this confusion.

@filipesilva
Copy link
Contributor

Fixed in #3915

@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 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants