Angular CLI Deployment in Production Mode code example
Example 1: ng build prod
ng build --prod
Example 2: angular build production
ng build --configuration=<env> --output-hashing=all
ng build --prod
ng build --configuration=<env> --output-hashing=all