On this page

These types are not exported by webpack, but they are available to TypeScript consumers.

Set explicit comments for commonjs, commonjs2, amd, and root.

Attributes
amd:string
Set comment for amd section in UMD.
commonjs:string
Set comment for commonjs (exports) section in UMD.
commonjs2:string
Set comment for commonjs2 (module.exports) section in UMD.
root:string
Set comment for root (global variable) section in UMD.

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.
Add a comment in the UMD wrapper.
export:string | string[]
Specify which export should be exposed as library.
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.