On this page

new RuntimeChunkPlugin(options?): void
  • name {(entrypoint: { name: string }) => string} The name factory for the runtime chunks.
  • Returns: <RuntimeChunkPlugin>

Creates an instance of RuntimeChunkPlugin.

  • options {{ name: string | ((entrypoint: { name: string }) => string) }}
apply(compiler): void
Attributes
compiler:<Compiler>
the compiler instance
Returns:<void>

Applies the plugin by registering its hooks on the compiler.