fix(ccw): correct template paths for TypeScript build

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 <noreply@anthropic.com>
This commit is contained in:
catlog22
2025-12-13 10:45:59 +08:00
parent 30e9ae0153
commit 335f5e9ec6

View File

@@ -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 => {