blob: e78f8c6878388374db8554e9948cae56005a0d58 [file] [log] [blame]
import { WebpackCompilation } from './WebpackCompilation';
export interface WebpackCompiler {
hooks: {
compilation: {
tap: (pluginName: string, handler: (compilation: WebpackCompilation) => void) => void;
};
emit: {
tap: (pluginName: string, handler: (compilation: WebpackCompilation) => void) => void;
};
};
context: string;
inputFileSystem: any;
plugin?: (phase: string, callback: Function) => void;
}