ng build --configuration production code example Example 1: ng build prod ng build --prod Example 2: build angular project ng build <project> [options]