We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d15d9a9 + 0c62fb9 commit bf61568Copy full SHA for bf61568
content/recipes/swc.md
@@ -135,14 +135,14 @@ declare a `generate-metadata.ts` file near the `main.ts` file with the following
135
136
```ts
137
import { PluginMetadataGenerator } from '@nestjs/cli/lib/compiler/plugins';
138
-import { ReadonlyVisitor } from '@nestjs/swagger';
+import { ReadonlyVisitor } from '@nestjs/swagger/dist/plugin';
139
140
const generator = new PluginMetadataGenerator();
141
generator.generate({
142
visitors: [new ReadonlyVisitor({ introspectComments: true, pathToSource: __dirname })],
143
outputDir: __dirname,
144
watch: true,
145
- tsconfigPath: 'tsconfig.build.json',
+ tsconfigPath: 'apps/<name>/tsconfig.app.json',
146
});
147
```
148
0 commit comments