new LibraryTemplatePlugin(name, target, umdNamedDefine, auxiliaryComment, exportProperty): LibraryTemplatePluginAttributes
name:
<LibraryName>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
Returns:
<LibraryTemplatePlugin>Creates an instance of LibraryTemplatePlugin.
Attributes
library:
<object>apply(compiler): voidAttributes
compiler:
<Compiler>the compiler instance
Returns:
<void>Applies the plugin by registering its hooks on the compiler.