These types are not exported by webpack, but they are available to TypeScript consumers.
Attributes
Attributes
additionalApply:
<object>function that runs when applying the current plugin.
Attributes
Set explicit comments for commonjs, commonjs2, amd, and root.
Attributes
Description object for all UMD variants of the library name.
Attributes
amd:
<string>Name of the exposed AMD library in the UMD.
commonjs:
<string>Name of the exposed commonjs export in the UMD.
root:
<string>
|
<string[]>Name of the property exposed globally by a UMD library.
Options for library.
Attributes
amdContainer:
<string>Add a container for define/require functions in the AMD module.
auxiliaryComment:
<string>
|
<LibraryCustomUmdCommentObject>Add a comment in the UMD wrapper.
export:
<string>
|
<string[]>Specify which export should be exposed as library.
name:
<string>
|
<string[]>
|
<LibraryCustomUmdObject>The name of the library (some types allow unnamed libraries too).
type:
<string>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:
<boolean>If
output.libraryTarget
is set to umd and
output.library
is set, setting this to true will name the AMD module.Type:
<string>
|
<string[]>Type:
<string>
|
<string[]>
|
<LibraryCustomUmdObject>