Files
reloop-v2/backend/tsconfig.json
reloop 57cd305166 fix(backend): tsconfig exclude 'prisma' 가 src/prisma 까지 차단 — 항목 제거
기존 exclude 패턴 'prisma' 는 backend/prisma/ 스키마 폴더를 제외하려는 의도였지만,
TypeScript exclude glob 이 경로 어디서든 'prisma' 디렉터리를 매칭해서 src/prisma/ 도
함께 제외됨. 그 결과 nest build 가 PrismaModule 을 dist/prisma.module.js 로 평탄화
emit 하면서 app.module 의 './prisma/prisma.module' require 가 런타임에 깨졌음.

이전 배포는 tsbuildinfo 캐시가 살아있던 덕에 우연히 정상 트리로 emit 되어 가려져
있었고, 오늘 클린 빌드 시 노출. 'prisma' 폴더의 .ts 파일들은 어차피 include
'src/**/*' 에 안 잡히므로 exclude 자체가 불필요. 항목 제거로 해결.
2026-04-16 10:03:15 +09:00

28 lines
689 B
JSON

{
"compilerOptions": {
"module": "commonjs",
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "ES2021",
"sourceMap": true,
"outDir": "./dist",
"rootDir": "./src",
"baseUrl": "./",
"incremental": true,
"skipLibCheck": true,
"strictNullChecks": false,
"noImplicitAny": false,
"strictBindCallApply": false,
"forceConsistentCasingInFileNames": false,
"noFallthroughCasesInSwitch": false,
"paths": {
"@/*": ["src/*"]
}
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "test"]
}