Skip to content

Instantly share code, notes, and snippets.

@brandonroberts
Created August 23, 2021 14:04
Show Gist options
  • Select an option

  • Save brandonroberts/df9dccb10df6515f9b6913d1ea84e3e8 to your computer and use it in GitHub Desktop.

Select an option

Save brandonroberts/df9dccb10df6515f9b6913d1ea84e3e8 to your computer and use it in GitHub Desktop.
Nx 12.8 NestJS Swagger
"targets": {
"build": {
"executor": "@nrwl/node:build",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/apps/my-server",
"main": "apps/my-server/src/main.ts",
"tsConfig": "apps/my-server/tsconfig.app.json",
"assets": ["apps/my-server/src/assets"],
+ "tsPlugins": ["@nestjs/swagger/plugin"]
},
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment