These types are not exported by webpack, but they are available to TypeScript consumers.
Set explicit comments for commonjs, commonjs2, amd, and root.
Attributes
Description object for all UMD variants of the library name.
Attributes
Options for library.
Attributes
amdContainer:
stringAdd a container for define/require functions in the AMD module.
auxiliaryComment:
string | LibraryCustomUmdCommentObjectAdd a comment in the UMD wrapper.
name:
string | string[] | LibraryCustomUmdObjectThe name of the library (some types allow unnamed libraries too).
type:
stringType 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:
booleanIf
output.libraryTarget
is set to umd and
output.library
is set, setting this to true will name the AMD module.