new ManifestPlugin(options?): ManifestPluginAttributes
options:
<ManifestPluginOptions>options
Returns:
<ManifestPlugin>Creates an instance of ManifestPlugin.
Attributes
options:
<ManifestPluginOptions>apply(compiler): voidAttributes
compiler:
<Compiler>the compiler instance
Returns:
<void>Applies the plugin by registering its hooks on the compiler.
Describes a manifest entrypoint.
Attributes
Describes a manifest asset that links the emitted path to the producing asset.
Attributes
The manifest object.
[index: {string}]<any>
assets<Record><<string>,<ManifestItem>> Contains the names of assets.entrypoints<Record><<string>,<ManifestEntrypoint>> Contains the names of entrypoints.
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:
(item:
<ManifestItem>
) =>
<boolean>
Allows filtering the files which make up the manifest.generate:
(manifest:
<ManifestObject>
) =>
<ManifestObject>
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:
(manifest:
<ManifestObject>
) =>
<string>
A function that receives the manifest object and returns the manifest string.