ng build --prod

C++
ng build --prod
ng build --configuration="test"
ng build --configuration="staging"ng build --prod
ng build --prod --configuration="staging" --output-hashing=allng build --configuration=<env> --output-hashing=all      
        content_copy
      
      RewriteEngine On
# If an existing asset or directory is requested go to it as it is
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d
RewriteRule ^ - [L]
# If the requested resource doesn't exist, use index.html
RewriteRule ^ /index.html
          
      ng build <project> [options]
    
Source

Also in C++: