On this page

new LibraryTemplatePlugin(name, target, umdNamedDefine, auxiliaryComment, exportProperty): LibraryTemplatePlugin
Attributes
name of library
target:<string>
type of library
umdNamedDefine:<boolean>
setting this to true will name the UMD module
auxiliaryComment:<AuxiliaryComment>
comment in the UMD wrapper
exportProperty:<LibraryExport>
which export should be exposed as library

Creates an instance of LibraryTemplatePlugin.

Attributes
library:<object>
apply(compiler): void
Attributes
compiler:<Compiler>
the compiler instance
Returns:<void>

Applies the plugin by registering its hooks on the compiler.