Files
2025-12-03 21:28:08 +00:00

22 lines
641 B
TypeScript
Executable File

/**
* JQHTML Webpack Loader
*
* Enables importing .jqhtml files in webpack projects:
*
* import UserCard from './UserCard.jqhtml';
*
* The loader:
* 1. Uses unified compiler from @jqhtml/parser
* 2. Generates ES module code that exports components
* 3. Supports source maps for debugging
*/
interface LoaderContext {
async(): (err: Error | null, content?: string, sourceMap?: any) => void;
getOptions(): any;
sourceMap: boolean;
resourcePath: string;
}
export default function jqhtmlLoader(this: LoaderContext, source: string): void;
export declare const raw = false;
export {};
//# sourceMappingURL=index.d.ts.map