1.0.0 • Published 8 months ago
webpack-bundle-stats-plugin v1.0.0
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 theBundleStats
object (optional)