-
Notifications
You must be signed in to change notification settings - Fork 12k
ng serve with multiple configurations #17696
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
It seems to work for me. I've added extra
Here's the repository/branch in which I've tested this: P.S I've just noticed that you've used this command:
I think that you've been using the command wrong. The options are applied from right to left. So in your example, I think that you should use:
Here's a quote from the MR that you've linked:
|
Yes it is working. But we still need to redefine all the entries of |
Those are just 3 lines per |
The point is valid. But if we can avoid writing a script because it can be provided out of the box, that will be better |
@kedevked, that is not needed see #17473 (comment) |
That's great, did not know about it. Thanks for sharing |
To add on to @alan-agius4's reply, documentation for |
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. |
🚀 Feature request
Following this PR it is now possible to extend build configuration.
Could it not possible to extends
serve
as well ? Additionnallly,ng serve
always searches for entries under ng-serve. Could it not be possible that if those entries are not present it uses values directly underbuild
?Description
if we suppose that we have 2 build environment and 3 localize entries, we will need 6 entries under
serve
to test it locally.If we are to use all these configs values under serve, we will need 6 entries. I wonder if it cannot be possible to run ng serve -c="i18n1, production1" and to directly use both configs
The text was updated successfully, but these errors were encountered: