On this page

new PrefetchPlugin(context, request?): PrefetchPlugin
Attributes
context:<string>
request:<string>

Creates an instance of PrefetchPlugin.

Attributes
context:<string> | <null>
request:<string>
apply(compiler): void
Attributes
compiler:<Compiler>
Returns:
{void}

Applies the plugin by registering its hooks on the compiler.