Files
rspade_system/node_modules/@jqhtml/parser/dist/compiler.d.ts
root d7d341f752 Update npm packages to latest versions
Fix JavaScript sourcemap paths to show full file locations
Implement --build-debug flag and complete Build UI streaming
Add xterm.js terminal UI and fix asset path routing
Add RSpade Build UI service with WebSocket support

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-31 08:12:33 +00:00

25 lines
800 B
TypeScript

/**
* Unified JQHTML Compiler Module
*
* Single source of truth for compiling JQHTML templates to JavaScript
* with proper sourcemap generation and version injection.
*/
export interface CompileOptions {
format: 'iife' | 'esm' | 'cjs' | 'umd';
sourcemap: boolean;
version?: string;
}
export interface CompiledOutput {
code: string;
componentName: string;
}
/**
* Compile a JQHTML template to JavaScript
*
* @param source - The JQHTML template source code
* @param filename - The source filename for sourcemap generation
* @param options - Compilation options
* @returns The compiled JavaScript code as a string
*/
export declare function compileTemplate(source: string, filename: string, options: CompileOptions): CompiledOutput;
//# sourceMappingURL=compiler.d.ts.map