Docs on "build" page show no hyphen for "build".
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.
--prod is the proper one; -prod works but IMO shouldn't, prod shouldn't work and that's correct.
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.
You are correct I have created #3915 to resolve this confusion.
Fixed in https://github.com/angular/angular-cli/pull/3915
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.