Skip to content

Commit a74bec3

Browse files
junzero741claude
andcommitted
fix(backend): bundle @private-board/shared into build output
bundle: false 상태에서 @private-board/shared가 런타임에 resolve되지 않는 문제 수정. bundle: true로 변경하고 tsconfig paths를 복원해 esbuild가 shared 코드를 번들에 인라인으로 포함하도록 변경. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 0233c5d commit a74bec3

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

apps/backend/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"platform": "node",
1313
"outputPath": "dist/apps/backend",
1414
"format": ["cjs"],
15-
"bundle": false,
15+
"bundle": true,
1616
"main": "apps/backend/src/main.ts",
1717
"tsConfig": "apps/backend/tsconfig.app.json",
1818
"assets": ["apps/backend/src/assets"],

tsconfig.base.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212
"lib": ["ES2021", "dom"],
1313
"strict": true,
1414
"skipLibCheck": true,
15-
"baseUrl": "."
15+
"baseUrl": ".",
16+
"paths": {
17+
"@private-board/shared": ["packages/shared/src/index.ts"]
18+
}
1619
},
1720
"exclude": ["node_modules", "tmp"]
1821
}

0 commit comments

Comments
 (0)