This is a webpack plugin which creates a json file listing all chunks produced during build.
Install the plugin:
npm install --save-dev chunk-list-webpack-plugin
new ChunkListWebpackPlugin(options)
output- output file path within destination directory. Default:chunks-list.json.extensions- only files with whitelisted extensions will be listed in file. Default:false.groupByExtension- If set to true, output will contain object with files grouped by extensions as keys. If set to false - output returns an array. Default:falseexternalChunks- optional array of external file names added to output chunk list json file.
MIT