-
Notifications
You must be signed in to change notification settings - Fork 12k
Documentation missing for new angular.json schema #10972
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
Comments
We have some documentation here: https://github.com/angular/angular-cli/wiki/angular-workspace. You probably want to use a configuration for each language in
This can lead to some repetition as there is no way to compose configurations. There's a feature request for it in #10612. Hope this helps. |
The documentation does not reference browserTarget at all. Isn't this the most important option? |
In the link I gave you there is a link to the schema of the dev-server: https://github.com/angular/angular-cli/blob/v6.0.0-rc.8/packages/%40angular/cli/lib/config/schema.json#L907-L1028 Here you find the description of
Admittedly, it is rather sparse. But it is there. It refers to a target that is using the |
@filipesilva It seems like it is not possible to use "browserTarget" AND overwrite some of its values. E.g. for serve i can use
I cant: Is this a bug? I am really confused by all this and also missing better documentation. |
Angular is becoming unusable for new developers due to these kind of black magic happening in background. |
@MickL you can't overwrite |
Or for those of us trying to upgrade to newer versions. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Versions
Documentation is generally missing for the 5.0 -> 6.0 upgrade, specifically regarding the schema of the new angular.json. Some more info on https://update.angular.io/ would be helpful
I'm particularly struggling to re-create build/serve options for prod/dev in different languages. I don't want to make full configs for prod-en prod-de serve-en serve-de prod-with-x-en prod-with-x-de etc. So far I've found some info at https://blog.ninja-squad.com/2018/05/04/angular-cli-6.0/ but my google fu has not yielded any actual specification of what a
browserTarget
is exactly, for example. I sort of assume I will need to dig into @Angular-devkit, which seems like a rabbit holeThe text was updated successfully, but these errors were encountered: