Simple Build Report Webpack Plugin

raw JSON →
1.0.2 verified Fri May 01 auth: no javascript maintenance

Webpack plugin (v1.0.2) that simplifies console output by bundling FileSizeReport and formatWebpackMessages from react-dev-utils. It replaces verbose Webpack stats with a concise, human-readable summary showing build status, asset sizes (gzipped), and compilation time. Last updated in 2022, no active development. Differentiators: zero-config, single plugin, no options, works with Webpack 5. Lightweight alternative to custom stats configurations or other reporting plugins.

error TypeError: SimpleBuildReportPlugin is not a constructor
cause Using ES module import syntax with a CJS-only package.
fix
Use require() instead of import.
gotcha Plugin does not support options; any passed options are silently ignored.
fix Remove any options object when instantiating the plugin.
deprecated Package has not been updated since 2022 and may not work with future Webpack versions beyond 5.
fix Consider alternatives like webpack-dashboard, friendly-errors-webpack-plugin, or custom stats configuration.
npm install simple-build-report-webpack-plugin
yarn add simple-build-report-webpack-plugin
pnpm add simple-build-report-webpack-plugin

Shows how to install and configure the plugin in a Webpack configuration file using CommonJS require().

// webpack.config.js
const SimpleBuildReportPlugin = require('simple-build-report-webpack-plugin');

module.exports = {
  // ... other webpack config
  plugins: [
    new SimpleBuildReportPlugin(),
  ],
};