new LibraryTemplatePlugin(name, target, umdNamedDefine, auxiliaryComment, exportProperty): voidname{LibraryName}target<string>umdNamedDefine<boolean>auxiliaryComment{AuxiliaryComment}exportProperty{LibraryExport}- Returns:
<LibraryTemplatePlugin>
Creates an instance of LibraryTemplatePlugin.
Attributes
library:
<object>apply(compiler): voidAttributes
compiler:
<Compiler>Returns:
{void}
Applies the plugin by registering its hooks on the compiler.