You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
645 B
18 lines
645 B
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;
|
|
}
|