From 335f5e9ec6c0690df3c53558a95b0b017f0c804c Mon Sep 17 00:00:00 2001 From: catlog22 Date: Sat, 13 Dec 2025 10:45:59 +0800 Subject: [PATCH] fix(ccw): correct template paths for TypeScript build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix paths from dist/core/ to src/templates/ since templates are not compiled and remain in src directory. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- ccw/src/core/dashboard-generator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccw/src/core/dashboard-generator.ts b/ccw/src/core/dashboard-generator.ts index c0641285..fd8965c4 100644 --- a/ccw/src/core/dashboard-generator.ts +++ b/ccw/src/core/dashboard-generator.ts @@ -100,7 +100,7 @@ function generateFromUnifiedTemplate(data: unknown): string { // Read JS content let jsContent = ''; - const moduleBase = join(__dirname, '../templates/dashboard-js'); + const moduleBase = join(__dirname, '../../src/templates/dashboard-js'); if (existsSync(moduleBase)) { jsContent = MODULE_FILES.map(file => {