-
Notifications
You must be signed in to change notification settings - Fork 12k
Allow user to specify angular-cli.json file to be used #4495
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
But then how it suppose to work with ng generate? It would be better just to support multiple apps |
The same way I'm proposing it would work for any other ng command. You'd specify the angular-cli config file to be used. For backwards compatibility we should probably default it to use angular-cli.json located at root and just use the --config argument as an override. ng generate --config angular-cli.json.app1 |
We added support for multiple apps via #4754. There's no plan to support multiple config files at this point. |
Under v6, is there now any way to specify a different config file? The overwhelming majority of systems that use config files have ways to specify the one you want. |
This would be great so that we can use Ionic apps inside a nx-workspace. Problem I'm facing is that we only want one angular.json, but ionic commands can only be run from within the project, and there is no way to specify the location of the root level angular.json. Having to manage multiple angular configs is ugly. Or, even a way to extend and 'fix' paths when loading relative angular.json. |
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. |
OS?
Versions.
Repro steps.
The log given by the failure.
ng serve --config angular-cli.json.app1
ng serve --config angular-cli.json.app2
ng build --config angular-cli.json.app1
ng build --config angular-cli.json.app2
Mention any other details that might be useful.
The text was updated successfully, but these errors were encountered: