new LibraryTemplatePlugin(name, target, umdNamedDefine, auxiliaryComment, exportProperty): voidname{LibraryName} name of librarytarget<string>type of libraryumdNamedDefine<boolean>setting this to true will name the UMD moduleauxiliaryComment{AuxiliaryComment} comment in the UMD wrapperexportProperty{LibraryExport} which export should be exposed as library- Returns:
<LibraryTemplatePlugin>
Attributes
library:
<object>apply(compiler): voidAttributes
compiler:
<Compiler>the compiler instance
Returns:
{void}
Apply the plugin