On this page

Source Code: lib/HotModuleReplacementPlugin.js#L93
new HotModuleReplacementPlugin(): HotModuleReplacementPlugin
hotModuleReplacementPlugin.apply(compiler): void
Source Code: lib/HotModuleReplacementPlugin.js#L121
Attributes
compiler:Compiler

Applies the plugin by registering its hooks on the compiler.

HotModuleReplacementPlugin.getParserHooks(parser): HMRJavascriptParserHooks
Source Code: lib/HotModuleReplacementPlugin.js#L99
Attributes

Returns the attached hooks.