fix: scope tsconfig to src/ so nest build emits dist/main.js
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.
This commit is contained in:
parent
fe42a1ae57
commit
0a4ffc41e6
1 changed files with 2 additions and 1 deletions
|
|
@ -16,5 +16,6 @@
|
|||
"strictNullChecks": true,
|
||||
"noImplicitAny": true,
|
||||
"esModuleInterop": true
|
||||
}
|
||||
},
|
||||
"include": ["src/**/*.ts"]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue