ng build
all
Compile an Angular application or library into an output directory named `dist/`.
More info →Options (1)
booleanBuild an Angular application or library
Example:
ng {{[b|build]}}Examples (7)
Build an Angular application or library
ng [b|build]Specify the output path relative to the workspace root
ng [b|build] --output-path path/to/directoryEnable Ahead-of-Time (AOT) compilation
ng [b|build] --aotShow build progress in the console
ng [b|build] --progressDisplay additional verbose output during the build
ng [b|build] --verboseAutomatically clear the terminal screen during rebuilds
ng [b|build] --clear-screenRebuild automatically when source files change
ng [b|build] --watchmade by @shridhargupta | data from tldr-pages