On this page

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

Attributes
pluginName:<string>
name of the plugin
used library type

Attributes
additionalApply:<object>
function that runs when applying the current plugin.

Attributes
chunkGraph:<ChunkGraph>
compilation:<Compilation>
options:
{T}

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

Attributes
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.
Set comment for  root (global variable) section in UMD.

Description object for all UMD variants of the library name.

Attributes
Name of the exposed AMD library in the UMD.
commonjs:<string>
Name of the exposed commonjs export in the UMD.
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.
Specify which export should be exposed as library.
The name of the library (some types allow unnamed libraries too).
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.