Skip to main content
webpack / LibraryTemplatePlugin

Class: LibraryTemplatePlugin

Defined in: webpack/types.d.ts:9852

Constructors

Constructor

new LibraryTemplatePlugin(name, target, umdNamedDefine, auxiliaryComment, exportProperty): LibraryTemplatePlugin
Defined in: webpack/types.d.ts:9853

Parameters

name
LibraryName
target
string
umdNamedDefine
boolean
auxiliaryComment
AuxiliaryComment
exportProperty
LibraryExport

Returns

LibraryTemplatePlugin

Properties

library

library: object
Defined in: webpack/types.d.ts:9860

auxiliaryComment

auxiliaryComment: AuxiliaryComment

export

export: LibraryExport

name

name: LibraryName

type

type: string

umdNamedDefine

umdNamedDefine: boolean

Methods

apply()

apply(compiler): void
Defined in: webpack/types.d.ts:9871 Apply the plugin

Parameters

compiler
Compiler

Returns

void