Skip to main content
webpack / EntryPlugin

Class: EntryPlugin

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

Constructors

Constructor

new EntryPlugin(context, entry, options?): EntryPlugin
Defined in: webpack/types.d.ts:4937 An entry plugin which will handle creation of the EntryDependency

Parameters

context
string
entry
string
options?
string | EntryOptions

Returns

EntryPlugin

Properties

context

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

entry

entry: string
Defined in: webpack/types.d.ts:4939

options

options: string | EntryOptions
Defined in: webpack/types.d.ts:4940

Methods

apply()

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

Parameters

compiler
Compiler

Returns

void

createDependency()

static createDependency(entry, options): EntryDependency
Defined in: webpack/types.d.ts:4946

Parameters

entry
string
options
string | EntryOptions

Returns

EntryDependency