How to set the REST api address in Angular according to build?
问题 I have an Angular front-end project generated by JHipster(5.8.2) and would like to adjust the settings so that when the build was 'prod' the REST API address would be a value and when the build was 'dev' the address would be another, however I could not make this change in the webpack.dev.js, webpack.prod.js, and webpack.common.js files. In the webpack.common.js file I set a value instead of empty string in SERVER_API_URL, however, this value was applied to all builds. I also tried using a