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.
15 lines
553 B
15 lines
553 B
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;
|
|
|