Without an include filter, tsc pulled in drizzle.config.ts from the repo root too, which widened the inferred rootDir and nested output under dist/src/main.js instead of dist/main.js -- crashing the container (Cannot find module '/app/dist/main') since the Dockerfile CMD expects the standard Nest layout.
21 lines
492 B
JSON
21 lines
492 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"target": "ES2022",
|
|
"moduleResolution": "node",
|
|
"declaration": false,
|
|
"removeComments": true,
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"sourceMap": true,
|
|
"outDir": "./dist",
|
|
"baseUrl": "./",
|
|
"incremental": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"strictNullChecks": true,
|
|
"noImplicitAny": true,
|
|
"esModuleInterop": true
|
|
},
|
|
"include": ["src/**/*.ts"]
|
|
}
|