Webpack Report is a webpack plugin (version 2.0.3) that provides a comprehensive build analysis with an interactive dashboard. It visualizes assets, modules, chunks, and dependency information, and displays build warnings and errors. It requires webpack as a peer dependency. Key differentiators include a built-in server to host the report, auto-opening in the browser, and customizable stats options. The plugin is actively maintained, though it is not as widely used as alternatives like webpack-bundle-analyzer. Release cadence is not specified but appears infrequent.
npm install webpack-reportVerified import paths — ran on the pinned version, not inferred.
Shows how to add the WebpackReport plugin to a webpack configuration with default options.
Check compatibility with your webpack version. The plugin may need updates for webpack 5.
Set { open: false } to suppress browser opening.Specify a unique port per build via options.
Create your own type declarations or use @types/webpack-report if available.
Run 'npm install webpack-report' or 'yarn add webpack-report'.
Use 'new WebpackReport(options)'.
Set a different port via { port: 1238 } or kill the other process.