Skip to content

Commit c894e10

Browse files
committed
docs(@angular/cli): document output dir deletion
Address concerns in angular#4366, angular#6375.
1 parent 9760ef9 commit c894e10

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/documentation/build.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ ng build
1313

1414
The build artifacts will be stored in the `dist/` directory.
1515

16+
All commands that build or serve your project, `ng build/serve/e2e`, will delete the output
17+
directory (`dist/` by default).
18+
This can be disabled via the `--no-delete-output-path` (or `--delete-output-path=false`) flag.
19+
1620
### Build Targets and Environment Files
1721

1822
`ng build` can specify both a build target (`--target=production` or `--target=development`) and an

0 commit comments

Comments
 (0)