Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 876 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 876 Bytes

This plugin is intended to provide cleaner output of webpack build. It also displays a progress bar while the build is running.

Progress bar

The plugin also comes with a progress bar

Usage

In th webpack config file, add this plugin and make sure to turn off the stats

const WebpackStatsProgress = require("webpack-stats-progress");
const path = require("path");

module.exports = {
  // ... other webpack configuration
  mode: "production",
  stats: "none",
  plugins: [
    new WebpackStatsProgress({ buildFolder: path.join(__dirname, "dist") }),
  ],
};

Check the example in the example folder.

Credits: