webpack-bundle-stats-plugin
v1.0.0
Published
Export internal bundling details from Webpack
Readme
webpack-bundle-stats-plugin
Webpack-bundle-stats-plugin is a Webpack plugin that exports internal details about Webpack's bundle compilation process. Webpack has its own mechanism for exporting compilation stats, but it doesn't contain the full breadth of data available at compilation time. The goal of this plugin is to make all that data accessible in a form that can be consumed by other tools.
Usage
new BundleStatsPlugin(options)Options
The options object supports the following properties:
outputFile(string): File path to which write the output JSON (optional)onComplete((stats: BundleStats) => void): Callback to call with theBundleStatsobject (optional)
