Skip to content

Commit 2799a67

Browse files
Merge pull request #2440 from micalevisk/patch-3
docs(cli): clarify on what 'nest build' does
2 parents 1667eeb + 0611f0b commit 2799a67

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

content/cli/usages.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,12 @@ $ nest g <schematic> <name> [options]
8989

9090
Compiles an application or workspace into an output folder.
9191

92+
Also, the `build` command is responsible for:
93+
94+
- mapping paths (if using path aliases) via `tsconfig-paths`
95+
- annotating DTOs with OpenAPI decorators (if `@nestjs/swagger` CLI plugin is enabled)
96+
- annotating DTOs with GraphQL decorators (if `@nestjs/graphql` CLI plugin is enabled)
97+
9298
```bash
9399
$ nest build <name> [options]
94100
```

0 commit comments

Comments
 (0)