On this page

new EntryPlugin(context, entry, options?): EntryPlugin
Attributes
context:<string>
context path
entry:<string>
entry path
entry options (passing a string is deprecated)

An entry plugin which will handle creation of the EntryDependency

Attributes
webpack.EntryPlugin.apply(compiler): void
Attributes
compiler:<Compiler>
the compiler instance
Returns:
{void}

Apply the plugin


webpack.EntryPlugin.createDependency(entry, options): EntryDependency
Attributes
entry:<string>
entry request
entry options (passing string is deprecated)
Returns:
{EntryDependency} the dependency