On this page

new LibraryTemplatePlugin(name, target, umdNamedDefine, auxiliaryComment, exportProperty): void
  • 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}
Attributes
library:<object>
webpack.LibraryTemplatePlugin.apply(compiler): void
  • compiler {Compiler} the compiler instance
  • Returns: {void}

Apply the plugin