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