Skip to content

Commit fe87e25

Browse files
committed
fix: add missing bundle and watch:bundle tasks to root turbo.json
Fixes #6432 - Windows debugging issue where VSCode debug configuration failed because the root turbo.json was missing the bundle and watch:bundle task definitions that are required by the debug tasks. The issue occurred because: - VSCode debug configuration runs the default build task (watch) - The watch task depends on watch:bundle via turbo - Root turbo.json was missing bundle and watch:bundle task definitions - This caused "Cannot find module extension.js" error on Windows Changes: - Added bundle task with outputs configuration - Added watch:bundle task with cache disabled - Both tasks now properly delegate to workspace-specific implementations
1 parent 09cf6d0 commit fe87e25

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

turbo.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
"outputs": ["dist/**"],
1515
"inputs": ["src/**", "package.json", "tsconfig.json", "tsup.config.ts", "vite.config.ts"]
1616
},
17+
"bundle": {
18+
"outputs": ["dist/**", "src/dist/**"]
19+
},
20+
"watch:bundle": {
21+
"cache": false
22+
},
1723
"watch:tsc": {
1824
"cache": false
1925
}

0 commit comments

Comments
 (0)