DEV Community

Discussion on: Using shared settings between multiple environments in Angular 🚀

Collapse
nikosanif profile image
Nikos Anifantis Author

Thanks for your comment @kinaski !
Unfortunately as far I know, you cannot do this! If you can see the official documentation, setting the --configuration option explicitly overrides the --prod flag.
For more information, see: angular.io/cli/build#options