mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 10:33:43 +08:00
This move will allow other devs to contribute and allow for pull requests and reviews against docs changes.
478 B
478 B
ng build
Overview
ng build
compiles the application into an output directory
Options
--target
(-t
, -dev
, prod
) define the build target
--environment
(-e
)
--output-path
(-o
) path where output will be placed
--watch
(-w
) flag to run builds when files change
--surpress-sizes
flag to suppress sizes from build output
--base-href
(-bh
) base url for the application being built
--aot
flag whether to build using Ahead of Time compilation