fuse-box
Version:
Fuse-Box a bundler that does it right
46 lines (45 loc) • 973 B
TypeScript
import { File } from "../core/File";
import { WorkFlowContext, Plugin } from "./../core/WorkflowContext";
export interface ConcatPluginOptions {
ext?: string;
name?: string;
delimiter?: string;
}
/**
*
*
* @export
* @class FuseBoxHTMLPlugin
* @implements {Plugin}
*/
export declare class ConcatPluginClass implements Plugin {
private ext;
private bundleName;
private delimiter;
constructor(opts?: ConcatPluginOptions);
/**
*
*
* @type {RegExp}
* @memberOf FuseBoxHTMLPlugin
*/
test: RegExp;
/**
*
*
* @param {WorkFlowContext} context
*
* @memberOf FuseBoxHTMLPlugin
*/
init(context: WorkFlowContext): void;
/**
*
*
* @param {File} file
*
* @memberOf FuseBoxHTMLPlugin
*/
transform(file: File): void;
transformGroup(group: File): void;
}
export declare const ConcatPlugin: (options?: ConcatPluginOptions) => ConcatPluginClass;