Interface: LibraryOptions
Defined in: webpack/types.d.ts:9821 Options for library.Properties
amdContainer?
Defined in: webpack/types.d.ts:9825 Add a container for define/require functions in the AMD module.optionalamdContainer:string
auxiliaryComment?
Defined in: webpack/types.d.ts:9830 Add a comment in the UMD wrapper.optionalauxiliaryComment:string|LibraryCustomUmdCommentObject
export?
Defined in: webpack/types.d.ts:9835 Specify which export should be exposed as library.optionalexport:string|string[]
name?
Defined in: webpack/types.d.ts:9840 The name of the library (some types allow unnamed libraries too).optionalname:string|string[] |LibraryCustomUmdObject
type
type: string
Defined in: webpack/types.d.ts:9845
Type of library (types included by default are ‘var’, ‘module’, ‘assign’, ‘assign-properties’, ‘this’, ‘window’, ‘self’, ‘global’, ‘commonjs’, ‘commonjs2’, ‘commonjs-module’, ‘commonjs-static’, ‘amd’, ‘amd-require’, ‘umd’, ‘umd2’, ‘jsonp’, ‘system’, but others might be added by plugins).
umdNamedDefine?
Defined in: webpack/types.d.ts:9850 IfoptionalumdNamedDefine:boolean
output.libraryTarget is set to umd and output.library is set, setting this to true will name the AMD module.