angular cli ng build prod code example
Example 1: angular build with configuration
ng build --prod
ng build --configuration="test"
ng build --configuration="staging"
Example 2: angular build production
ng build --configuration=<env> --output-hashing=all