ng build for production code example
Example 1: ng build --prod
ng build --prod --configuration="staging" --output-hashing=all
Example 2: angular build with configuration
ng build --prod
ng build --configuration="test"
ng build --configuration="staging"
Example 3: angular build production
ng build --configuration=<env> --output-hashing=all
Example 4: build angular project
ng build <project> [options]