Skip to content

v6 Documentation? #10530

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
buu700 opened this issue Apr 30, 2018 · 3 comments
Closed

v6 Documentation? #10530

buu700 opened this issue Apr 30, 2018 · 3 comments

Comments

@buu700
Copy link
Contributor

buu700 commented Apr 30, 2018

It seems that the interface has completely changed in v6; is there (or will there be) documentation on how to use / migrate to the latest versions of these commands?

Specifically, build and serve have both gone from offering a pretty big set of options (many of which our existing scripts and workflow depend on) to only --configuration and --prod. If --configuration is the replacement for all the options that were removed, it isn't clear from the --help output how it's meant to be used.

Edit: Okay, I think I figured it out. Sets of flags now have to be configured in angular.json, and --configuration references the name of a pre-defined configuration?

In that case, a feature request: the ability to specify a configuration inline (e.g. ng serve --options '{"browserTarget": "cyph.ws:build:dev"}') (and/or just continued backwards compatibility with the 1.x flags).

@devoto13
Copy link
Contributor

See #10438 and #10470

@buu700
Copy link
Contributor Author

buu700 commented Apr 30, 2018

Ah, got it; I see the updated docs now (b3e966e). Thanks!

@buu700 buu700 closed this as completed Apr 30, 2018
@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
None yet
Projects
None yet
Development

No branches or pull requests

2 participants