1 | import { WebpackCompilation } from './WebpackCompilation';
|
2 | export interface WebpackCompiler {
|
3 | hooks: {
|
4 | thisCompilation: {
|
5 | tap: (pluginName: string, handler: (compilation: WebpackCompilation) => void) => void;
|
6 | };
|
7 | compilation: {
|
8 | tap: (pluginName: string, handler: (compilation: WebpackCompilation) => void) => void;
|
9 | };
|
10 | emit: {
|
11 | tap: (pluginName: string, handler: (compilation: WebpackCompilation) => void) => void;
|
12 | };
|
13 | };
|
14 | context: string;
|
15 | inputFileSystem: any;
|
16 | plugin?: (phase: string, callback: Function) => void;
|
17 | isChild: () => boolean;
|
18 | }
|