File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed
Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change 44` ng build ` compiles the application into an output directory
55
66## Options
7- ` --target ` (` -t ` , ` -dev ` , ` prod ` ) define the build target
7+ ` --target ` (` -t ` ) define the build target
88
9- ` --environment ` (` -e ` )
9+ ` --environment ` (` -e ` ) defines the build environment
10+
11+ ` --prod ` flag to set build target and environment to production
12+
13+ ` --dev ` flag to set build target and environment to development
14+
15+ ``` bash
16+ # these are equivalent
17+ --target=production --environment=prod
18+ --prod --env=prod
19+ --prod
20+ # and so are these
21+ --target=development --environment=dev
22+ --dev --e=dev
23+ --dev
24+ ng build
25+ ```
1026
1127` --output-path ` (` -o ` ) path where output will be placed
1228
1632
1733` --base-href ` (` -bh ` ) base url for the application being built
1834
19- ` --aot ` flag whether to build using Ahead of Time compilation
35+ ` --aot ` flag whether to build using Ahead of Time compilation
You can’t perform that action at this time.
0 commit comments