webpack-manifest-plugin

  • Version 5.0.0
  • Published
  • 36.7 kB
  • 2 dependencies
  • MIT license

Install

npm i webpack-manifest-plugin
yarn add webpack-manifest-plugin
pnpm add webpack-manifest-plugin

Overview

A Webpack Plugin for generating Asset Manifests

Index

Functions

function getCompilerHooks

getCompilerHooks: (compiler: Compiler) => any;

    Classes

    class WebpackManifestPlugin

    class WebpackManifestPlugin implements WebpackPluginInstance {}

      constructor

      constructor(opts: Partial<InternalOptions>);

        method apply

        apply: (compiler: Compiler) => void;

          Interfaces

          interface InternalOptions

          interface InternalOptions {}

            property assetHookStage

            assetHookStage: number;

              property basePath

              basePath: string;

                property fileName

                fileName: string;

                  property filter

                  filter: (file: FileDescriptor) => Boolean;

                    property generate

                    generate: (
                    seed: Record<any, any>,
                    files: FileDescriptor[],
                    entries: Record<string, string[]>
                    ) => Manifest;

                      property map

                      map: (file: FileDescriptor) => FileDescriptor;

                        property publicPath

                        publicPath: string;

                          property removeKeyHash

                          removeKeyHash: RegExp | false;

                            property seed

                            seed: Record<any, any>;

                              property serialize

                              serialize: (manifest: Manifest) => string;

                                property sort

                                sort: (fileA: FileDescriptor, fileB: FileDescriptor) => Number;

                                  property transformExtensions

                                  transformExtensions: RegExp;

                                    property useEntryKeys

                                    useEntryKeys: Boolean;

                                      property useLegacyEmit

                                      useLegacyEmit: Boolean;

                                        property writeToFileEmit

                                        writeToFileEmit: Boolean;

                                          index signature

                                          [key: string]: any;

                                            Type Aliases

                                            type EmitCountMap

                                            type EmitCountMap = Map<any, any>;

                                              type Manifest

                                              type Manifest = Record<string, any>;

                                                type ManifestPluginOptions

                                                type ManifestPluginOptions = Partial<InternalOptions>;

                                                  Package Files (2)

                                                  Dependencies (2)

                                                  Dev Dependencies (28)

                                                  Peer Dependencies (1)

                                                  Badge

                                                  To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                                  You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/webpack-manifest-plugin.

                                                  • Markdown
                                                    [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/webpack-manifest-plugin)
                                                  • HTML
                                                    <a href="https://www.jsdocs.io/package/webpack-manifest-plugin"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>