On this page

new PrefetchPlugin(context, request?): PrefetchPlugin
Attributes
context:<string>
context or request if context is not set
request:<string>
request
Returns:
{PrefetchPlugin}
Attributes
context:<string>
request:<string>
webpack.PrefetchPlugin.apply(compiler): void
  • compiler {Compiler} the compiler instance
  • Returns: {void}

Apply the plugin