new PrefetchPlugin(context, request?): PrefetchPluginAttributes
context:
<string>context or request if context is not set
request:
<string>request
Returns:
<PrefetchPlugin>Creates an instance of PrefetchPlugin.
Attributes
apply(compiler): voidAttributes
compiler:
<Compiler>the compiler instance
Returns:
<void>Applies the plugin by registering its hooks on the compiler.