Azure Devops Angular Environment Variables
问题 At this point, when a commit happens to the Master branch, a build pipeline will generate an artifact based on "ng build --prod", so this artifact uses the production configuration for the project. After that, the artifact will be deployed to the test and production environments. For the test environment, I want the code to use "environment.dev.ts" and for production "environment.prod.ts". How can I achieve that? 回答1: There are many ways. I am doing it using "Tokens" My production environment