command to generate production build in angular 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