ng build

ng build [--[argument]=[value]]

Сompiles the application into an output directory.

Alias for the command:

ng run [default-project]:build

In the default configuration for ng build using builder browser.

With this command you can override any builder's option.

Tutorials

Options

prod#

Flag to set configuration to production.

Alias for the command:

ng run [default-project]:build:production
Type boolean