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
Attributes
library:<object>
apply(compiler): void
Attributes
compiler:<Compiler>
the compiler instance
Returns:
{void}

Apply the plugin