On this page

Source Code: lib/PrefetchPlugin.js#L14
new PrefetchPlugin(context, request?): PrefetchPlugin
Source Code: lib/PrefetchPlugin.js#L20
Attributes
context:string
request:string

Creates an instance of PrefetchPlugin.

Type:string | null
Type:string
prefetchPlugin.apply(compiler): void
Source Code: lib/PrefetchPlugin.js#L37
Attributes
compiler:Compiler

Applies the plugin by registering its hooks on the compiler.