On this page

new HotModuleReplacementPlugin(): HotModuleReplacementPlugin
Returns:
{HotModuleReplacementPlugin}
webpack.HotModuleReplacementPlugin.apply(compiler): void
  • compiler {Compiler} the compiler instance
  • Returns: {void}

Apply the plugin


webpack.HotModuleReplacementPlugin.getParserHooks(parser): void
  • parser {JavascriptParser} the parser
  • Returns: {HMRJavascriptParserHooks} the attached hooks