how to build with config in angular code example
Example 1: angular build production
ng build --configuration=<env> --output-hashing=all
Example 2: adding prod environment file in angular8
content_copy
export const environment = {
production: false,
apiUrl: 'http://my-api-url'
};