This commit is contained in:
Your Name
2026-08-11 17:41:36 +08:00
parent cfe4c82c90
commit 03fe4ddf9d
18771 changed files with 3617239 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import type { Compiler } from 'webpack';
declare const ALL = "all";
declare const STATIC = "static";
declare const DYNAMIC = "dynamic";
declare type AvailableModules = typeof ALL | typeof STATIC | typeof DYNAMIC;
declare class VirtualModulesPlugin {
private _staticModules;
private _compiler;
private _watcher;
constructor(modules?: Record<string, string>);
getModuleList(filter?: AvailableModules): {};
writeModule(filePath: string, contents: string): void;
apply(compiler: Compiler): void;
}
export = VirtualModulesPlugin;