angular cli run 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