A plugin to beautify webpack stats output
npm install webpack-stats-prettify-pluginA plugin to beautify webpack stats output
Webpack 5 Default Output:

Use WebpackStatsPrettifyPlugin:

To begin, you'll need to install copy-webpack-plugin:
``bash
npm install webpack-stats-prettify-plugin --save-dev
Then add the plugin to your webpack config. For example:
webpack.config.js
`js
const WebpackStatsPrettifyPlugin = require("webpack-stats-prettify-plugin");module.exports = {
plugins: [new WebpackStatsPrettifyPlugin()],
stats: "errors-warnings",
performance: {
maxEntrypointSize: 1500000,
maxAssetSize: 500000,
hints: "warning",
},
};
``