Skip to content

Commit 0c62fb9

Browse files
committed
docs(recipes/swc): use app-specific tsconfig
Update example to use app-specific tsconfig. Using the root tsconfig will include `*.dto.ts` (etc) from all apps, whereas they might not all expose HTTP endpoints or publish a swagger doc.
1 parent 359484d commit 0c62fb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/recipes/swc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ generator.generate({
142142
visitors: [new ReadonlyVisitor({ introspectComments: true, pathToSource: __dirname })],
143143
outputDir: __dirname,
144144
watch: true,
145-
tsconfigPath: 'tsconfig.build.json',
145+
tsconfigPath: 'apps/<name>/tsconfig.app.json',
146146
});
147147
```
148148

0 commit comments

Comments
 (0)