We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nest build produces only assets in the outDir
nest build
outDir
tsconfig.json
{ "compilerOptions": { "composite": false, "outDir": "dist", "rootDir": "src" }, "exclude": ["node_modules", "dist"] }
tsconfig.build.json
{ "extends": "./tsconfig.json", "exclude": ["node_modules", "test", "dist", "**/*spec.ts"] }
nest-cli.json
{ "collection": "@nestjs/schematics", "sourceRoot": "src", "compilerOptions": { "deleteOutDir": true, "assets": [ { "include": "config/YandexInternalRootCA.crt" } ], "watchAssets": false } }
$ tree dist dist └── config └── YandexInternalRootCA.crt 1 directory, 1 file
$ tree src src ├── app.controller.spec.ts ├── app.controller.ts ├── app.module.ts ├── app.service.ts ├── config │ ├── YandexInternalRootCA.crt │ └── database.ts ├── entity │ ├── FuelCard.ts │ ├── FuelCardBalance.ts │ ├── FuelCardBalanceHistory.ts │ ├── FuelType.ts │ ├── FuelingOperation.ts │ ├── LimitType.ts │ └── Refueller.ts ├── fuel-card │ ├── fuel-card.controller.spec.ts │ ├── fuel-card.controller.ts │ ├── fuel-card.module.ts │ ├── fuel-card.service.spec.ts │ └── fuel-card.service.ts └── main.ts 3 directories, 19 files
nest build correctly compiles the code
Nest version: 7.1.3 For Tooling issues: - Node version: v12.17.0 - Platform: Mac Others:
The text was updated successfully, but these errors were encountered:
Please provider a minimum reproduction.
Sorry, something went wrong.
The composite mode is not supported nestjs/nest-cli#392. For this, use native tsc compilation instead of nest build
tsc
No branches or pull requests
Bug Report
Current behavior
nest build
produces only assets in theoutDir
Input Code
tsconfig.json
tsconfig.build.json
nest-cli.json
Expected behavior
nest build
correctly compiles the codePossible Solution
Environment
The text was updated successfully, but these errors were encountered: