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.

10 lines
331 B

3 months ago
  1. import type { Compiler } from 'webpack';
  2. declare class VirtualModulesPlugin {
  3. private _staticModules;
  4. private _compiler;
  5. private _watcher;
  6. constructor(modules?: Record<string, string>);
  7. writeModule(filePath: string, contents: string): void;
  8. apply(compiler: Compiler): void;
  9. }
  10. export = VirtualModulesPlugin;