simple-stats-webpack-plugin

1.5.5 • Public • Published

Simple stats for webpack version (4.42.1 - 5.31.0)

Set the errors and warnings to a minimum of output for maximum of information

This is a simple webpack plugin, and it is just in alpha state, so please do not use it in your production environment.

The goal is to reduce the output of warning and error messages in a performant way and produce better and clearer error and warning messages, than webpack himself, with stats option "errors-warnings" or any other.

Set stats to none if you use this plugin, otherwise you may have duplicated errors or warnings in your output.

https://webpack.js.org/configuration/stats/

Please share webpack config and full information around your warnings or errors which are not recognized, this will help for further investigations.

And by the way, the package has no internal dependencies.

Install

$ npm i --save-dev simple-stats-webpack-plugin

or

$ yarn add --dev simple-stats-webpack-plugin

Use

const SimpleStatsWebpackPlugin = require('simple-stats-webpack-plugin');
plugins: [
        new SimpleStatsWebpackPlugin()
],

Options

plugins: [
        new SimpleStatsWebpackPlugin({
           id : 'SimpleStatsWebpackPlugin', 
           showWarnings: true,
           showErrors: true,
           showTime: true,
           clearConsole: true,
           showHash: true,
           showRun: true,
           showActivity: true
        })
],

Package Sidebar

Install

npm i simple-stats-webpack-plugin

Weekly Downloads

24

Version

1.5.5

License

MIT

Unpacked Size

11.1 kB

Total Files

4

Last publish

Collaborators

  • honsa