DEV Community

Discussion on: How To Build An Angular App Once And Deploy It To Multiple Environments

Collapse
 
hakimio profile image
Tomas Rimkus

I don't think you are overriding Angular "environment" configs correctly. "ng build" can do it for you without any hacky text "search and replace" scripts. Check the "--configuration" flag.

Collapse
 
mokkapps profile image
Michael Hoffmann

The idea is to build the app only once and not for every environment