Angular 7 References/ CLI

ng build

This is the documentation for Angular 7.
You can switch to the latest version Angular 10.
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.

Links & Tutorials



Flag to set configuration to `production`. Alias for the command: ``` ng run [default-project]:build:production ```
Type boolean