I'm using angular-cli (beta 26). For local development it's great, but I'm struggling to see how it can fit into a more serious "build once, deploy many" type of pipeline?
I'm using the built-in concept of an environment to store environment specific information, e.g. connection strings. But I'm required to specify the environment at build time, by using ng build --environment=xyz. This basically means I have to do a fresh build for every deployment. Idealy I'd like to select my environment at runtime (much like can be done with ASP.NET Core for example).
Am I missing something here? Is there another way to solve this problem?