Skip to main content
webpack / optimize / RuntimeChunkPlugin

Class: RuntimeChunkPlugin

Defined in: webpack/types.d.ts:16545

Constructors

Constructor

new RuntimeChunkPlugin(options?): RuntimeChunkPlugin
Defined in: webpack/types.d.ts:16546

Parameters

options?
name?
(entrypoint) => string The name factory for the runtime chunks.

Returns

RuntimeChunkPlugin

Properties

options

options: object
Defined in: webpack/types.d.ts:16552

name

name: string | (entrypoint) => string

Methods

apply()

apply(compiler): void
Defined in: webpack/types.d.ts:16557 Apply the plugin

Parameters

compiler
Compiler

Returns

void