UNPKG

fuse-box

Version:

Fuse-Box a bundler that does it right

42 lines (41 loc) 891 B
import { File } from "../core/File"; import { WorkFlowContext } from "../core/WorkflowContext"; import { Plugin } from "../core/WorkflowContext"; export interface HTMLPluginOptions { useDefault?: boolean; } /** * * * @export * @class FuseBoxHTMLPlugin * @implements {Plugin} */ export declare class FuseBoxHTMLPlugin implements Plugin { private useDefault; constructor(opts?: HTMLPluginOptions); /** * * * @type {RegExp} * @memberOf FuseBoxHTMLPlugin */ test: RegExp; /** * * * @param {WorkFlowContext} context * * @memberOf FuseBoxHTMLPlugin */ init(context: WorkFlowContext): void; /** * * * @param {File} file * * @memberOf FuseBoxHTMLPlugin */ transform(file: File): void; } export declare const HTMLPlugin: (options?: HTMLPluginOptions) => FuseBoxHTMLPlugin;