On this page

new DllReferencePlugin(options): DllReferencePlugin
Attributes

Creates an instance of DllReferencePlugin.

Attributes
apply(compiler): void
Attributes
compiler:<Compiler>
Returns:<void>

Applies the plugin by registering its hooks on the compiler.

<object>

Attributes
context:<string>
Context of requests in the manifest (or content property) as absolute path.
extensions:<string>
[] Extensions used to resolve modules in the dll bundle (only used when using 'scope').
An object containing content and name or a string to the absolute path of the JSON manifest to be loaded upon compilation.
The name where the dll is exposed (external name, defaults to manifest.name).
scope:<string>
Prefix which is used for accessing the content of the dll.
sourceType:
<"var"> | <"assign"> | <"this"> | <"window"> | <"global"> | <"commonjs"> | <"commonjs2"> | <"commonjs-module"> | <"amd"> | <"amd-require"> | <"umd"> | <"umd2"> | <"jsonp"> | <"system"> How the dll is exposed (libraryTarget, defaults to manifest.type).
type:
<"object"> | <"require"> The way how the export of the dll bundle is used.

<object>

Attributes
The mappings from request to module info.
context:<string>
Context of requests in the manifest (or content property) as absolute path.
extensions:<string>
[] Extensions used to resolve modules in the dll bundle (only used when using 'scope').
The name where the dll is exposed (external name).
scope:<string>
Prefix which is used for accessing the content of the dll.
sourceType:
<"var"> | <"assign"> | <"this"> | <"window"> | <"global"> | <"commonjs"> | <"commonjs2"> | <"commonjs-module"> | <"amd"> | <"amd-require"> | <"umd"> | <"umd2"> | <"jsonp"> | <"system"> How the dll is exposed (libraryTarget).
type:
<"object"> | <"require"> The way how the export of the dll bundle is used.

An object containing content, name and type.

Attributes
The mappings from request to module info.
The name where the dll is exposed (external name).
type:
<"global"> | <"this"> | <"var"> | <"commonjs"> | <"jsonp"> | <"assign"> | <"window"> | <"commonjs2"> | <"commonjs-module"> | <"amd"> | <"amd-require"> | <"umd"> | <"umd2"> | <"system"> The type how the dll is exposed (external type).