17 lines
573 B
JSON
17 lines
573 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"noEmit": false,
|
|
"outDir": "dist",
|
|
"rootDir": "src",
|
|
|
|
// MUST stay false. `nest build` wipes dist (deleteOutDir), but TypeScript's
|
|
// incremental cache tracks only its own .tsbuildinfo — it does not check
|
|
// whether the output files still exist. The combination produces a build
|
|
// that exits 0 and emits nothing, which is far worse than a slow build.
|
|
"incremental": false
|
|
},
|
|
"include": ["src/**/*.ts"],
|
|
"exclude": ["node_modules", "dist", "test", "prisma", "**/*.spec.ts"]
|
|
}
|