18 lines
645 B
TypeScript
Executable file
18 lines
645 B
TypeScript
Executable file
import { WebpackCompilation } from './WebpackCompilation';
|
|
export interface WebpackCompiler {
|
|
hooks: {
|
|
thisCompilation: {
|
|
tap: (pluginName: string, handler: (compilation: WebpackCompilation) => void) => void;
|
|
};
|
|
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;
|
|
isChild: () => boolean;
|
|
}
|