Options
All
  • Public
  • Public/Protected
  • All
Menu

Options for library.

Hierarchy

  • LibraryOptions

Index

Properties

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.