UNPKG

439 BTypeScriptView Raw
1import webpack from 'webpack';
2declare class VirtualModulesPlugin {
3 private watcher;
4 private compiler;
5 static bootstrap(compilation: any): VirtualModulesPlugin;
6 addFile: (filePath: string, contents: string) => void;
7 writeModule(filePath: string, contents: string): void;
8 static augmentFileSystem(compiler: webpack.Compiler): void;
9 apply(compiler: webpack.Compiler): void;
10}
11export default VirtualModulesPlugin;