Multiple environment config in angular 6+ with Angular-CLI
1 min readJul 30, 2018
angular configuration update
ng serve –-env= dev
would probably get error by now and hence you are at this point to rectify it out
Below table(Image 1.0) shows the difference in config to resolve the above issue
Eg: Below is the new config added for new dev environment inside angular.json
Other properties like ‘aot’ , ‘serviceWorker’ etc can be set when really needed