Files
rspade_system/node_modules/@jqhtml/webpack-loader/dist/webpack-config.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

52 lines
1.3 KiB
TypeScript

/**
* JQHTML Webpack Configuration Helper
*
* Provides easy setup for JQHTML in webpack projects:
*
* const { addJQHTMLSupport } = require('@jqhtml/webpack-loader');
* module.exports = addJQHTMLSupport(webpackConfig);
*/
interface RuleSetRule {
test?: RegExp;
use?: any;
type?: string;
exclude?: RegExp | string;
}
interface Configuration {
mode?: 'development' | 'production';
entry?: string | string[] | Record<string, string>;
output?: any;
module?: {
rules?: RuleSetRule[];
};
resolve?: {
extensions?: string[];
modules?: string[];
};
devtool?: string | false;
plugins?: any[];
}
/**
* Create webpack rule for .jqhtml files
*/
export declare function createJQHTMLRule(options?: {
sourceMap?: boolean;
test?: RegExp;
}): RuleSetRule;
/**
* Add JQHTML support to existing webpack config
*/
export declare function addJQHTMLSupport(config: Configuration, options?: {
sourceMap?: boolean;
}): Configuration;
/**
* Standalone webpack config for JQHTML projects
*/
export declare function createJQHTMLConfig(options?: {
entry: string;
output?: any;
mode?: 'development' | 'production';
sourceMap?: boolean;
}): Configuration;
export {};
//# sourceMappingURL=webpack-config.d.ts.map