On this page

new EntryOptionPlugin(): EntryOptionPlugin
apply(compiler): void
Attributes
compiler:Compiler
the compiler instance one is tapping into
Returns:void

Applies the plugin by registering its hooks on the compiler.


Attributes
compiler:Compiler
the compiler
context:string
context directory
request
Returns:void

Apply entry option.


Attributes
compiler:Compiler
the compiler
name:string
entry name
entry description
Returns:EntryOptions
options for the entry

Entry description to options.


Attributes
compiler:Compiler
the compiler
the hooks
Attributes
transform an entry into a different request (e.g. wrap a non-HTML entry in a synthetic HTML module); return undefined to keep the default behavior