I store the API base address in my environment class, and it gets reflected into the bundles after build. What i need is a way to somehow liberate this value from the build process so in case i wanna deploy the app under different servers with different API addresses, I won't have to do another build only for the sake of a new URL. My app is quite hefty and the build is really time-consuming.
Here is what is have in my environment.prod.ts :
export const environment = {
production: true,
configName: 'prod',
baseUrl: 'https://mpisitweb1/api'
};