1.1.0 • Published 7 years ago

webpack-plugin-manifest v1.1.0

Weekly downloads
29
License
MIT
Repository
github
Last release
7 years ago

webpack-plugin-manifest

Webpack plugin for generating asset manifests.

Features

Generates a JSON manifest file that maps chunk names to their corresponding output files.

Installation

$ npm i --save webpack-plugin-manifest

Usage

Add new plugin instance to your webpack config

  import ManifestPlugin from 'webpack-plugin-manifest'

  const compiler = webpack({
    // ...
    plugins: [
      new ManifestPlugin()
    ]
  })

Configuration

The plugin accepts the following options:

  • path: Where to save the manifest. Defaults to Webpack output path.
  • fileName: Name of the generated manifest file. Defaults to webpack-manifest.json.
  • merge: Indicates whether to merge with existing manifest. Defaults to false.
  • extensions: An array of allowed file extensions. Defaults to ['.js', '.css'].
  • prettyPrint: Whether to format the JSON output for readability. Defaults to false.

License

MIT

1.1.0

7 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.1.5

8 years ago

0.1.3

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.1

8 years ago