Files
rspade_system/node_modules/@jqhtml/webpack-loader/dist/webpack-config.d.ts
root f6fac6c4bc Fix bin/publish: copy docs.dist from project root
Fix bin/publish: use correct .env path for rspade_system
Fix bin/publish script: prevent grep exit code 1 from terminating script

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

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

52 lines
1.3 KiB
TypeScript
Executable File

/**
* 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