On this page

new VirtualUrlPlugin(modules, schemeOrOptions?): VirtualUrlPlugin
Attributes
The virtual modules
schemeOrOptions:
{string|Omit<VirtualUrlOptions, "modules">} The URL scheme to use
Attributes
context:<string>
scheme:<string>
DEFAULT_SCHEME:<string>
apply(compiler): void
Attributes
compiler:<Compiler>
the compiler instance
Returns:
{void}

Apply the plugin


findVirtualModuleConfigById(id): VirtualModule
Attributes
The module id
The virtual module config

getCacheVersion(version): string | undefined
Attributes
version:<string> | <object>
The version value or function
The cache version

Get the cache version for a given version value