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