One thing we decided to do was remove all environment specific logic from aurelia build so that all this is managed via web.config. We have a TFS CI setup and it swaps out the environment specific variables within the web.config so that we don’t have manage another js/ts configuration file. We keep the client pretty dump that way and the only environment specific logic we do have really is only in the webpack config which will bundle differently on our locals vs dev/qa/prod environments which is run on the build box via cmd calls
2 Likes