webpack-manifest-resource-plugin
normalize js/css resource dependencies for webpack-manifest-plugin
Install
npm install --save-dev webpack-manifest-resource-plugin
Usage
var ManifestPlugin = require('webpack-manifest-resource-plugin');
moduleexports = // ... plugins: ;
This will generate a manifest.json file in your root output directory with a mapping of all source file names to their corresponding output file, for example:
API
support webpack-manifest-plugin all api, and add commonsChunk config:
options.commonsChunk
Type: Array
Default: []
the commonsChunk
is webpack.optimize.CommonsChunkPlugin
name config.