On this page

new ManifestPlugin(options?): ManifestPlugin
Attributes

Creates an instance of ManifestPlugin.

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

Applies the plugin by registering its hooks on the compiler.

Describes a manifest entrypoint.

Attributes
imports:<string>
[] Contains the names of entrypoints.
parents:<string>
[] Contains the names of parent entrypoints.

Describes a manifest asset that links the emitted path to the producing asset.

Attributes
The path absolute URL (this indicates that the path is absolute from the server's root directory) to file.
The source path relative to the context.

The manifest object.

  • [index: {string}] <any>

Attributes
entrypoints:<boolean>
Enables/disables generation of the entrypoints manifest section.
filename:<string>
Specifies the filename of the output file on disk. By default the plugin will emit  manifest.json inside the 'output.path' directory.
filter:<Function>
Allows filtering the files which make up the manifest.
generate:<Function>
A function that receives the manifest object, modifies it, and returns the modified manifest.
prefix:<string>
Specifies a path prefix for all keys in the manifest.
serialize:<Function>
A function that receives the manifest object and returns the manifest string.