On this page

Options for library.

Type:string

Add a container for define/require functions in the AMD module.

Add a comment in the UMD wrapper.

Type: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).

Type:boolean

If output.libraryTarget is set to umd and output.library is set, setting this to true will name the AMD module.