Skip to main content
webpack / DynamicEntryPlugin

Class: DynamicEntryPlugin

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

Constructors

Constructor

new DynamicEntryPlugin(context, entry): DynamicEntryPlugin
Defined in: webpack/types.d.ts:4651

Parameters

context
string
entry
() => Promise<EntryStaticNormalized>

Returns

DynamicEntryPlugin

Properties

context

context: string
Defined in: webpack/types.d.ts:4652

entry()

entry: () => Promise<EntryStaticNormalized>
Defined in: webpack/types.d.ts:4653

Returns

Promise<EntryStaticNormalized>

Methods

apply()

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

Parameters

compiler
Compiler

Returns

void