From fe87e258164157bcccfc4d003e37598ae5edbc7a Mon Sep 17 00:00:00 2001 From: Roo Code Date: Wed, 30 Jul 2025 14:44:09 +0000 Subject: [PATCH] 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 --- turbo.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/turbo.json b/turbo.json index 7079455464..534861e427 100644 --- a/turbo.json +++ b/turbo.json @@ -14,6 +14,12 @@ "outputs": ["dist/**"], "inputs": ["src/**", "package.json", "tsconfig.json", "tsup.config.ts", "vite.config.ts"] }, + "bundle": { + "outputs": ["dist/**", "src/dist/**"] + }, + "watch:bundle": { + "cache": false + }, "watch:tsc": { "cache": false }