On this page

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

Creates an instance of RuntimeChunkPlugin.

Attributes
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.