
Introduction
Export a JSON file that maps chunk ids to their resulting asset files. This JSON file could be used for prefetch/preload.
Looking to contribute? Pick up an issue!
Documentation
Installation
yarn add --dev webpack-plugin-chunk-manifest
Usage
// File: webpack.config.jsconst ChunkManifest = ;moduleexports =...plugins:...
Options
- filename: Chunk manifest would be stored in this file. Default:
manifest.json
filename: 'config/manifest.json' - transform: Transform chunks before storing.{// Remove manifest.js from chunks.Objectreturn chunks}