Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webpack Compiling Stats Plugin

Webpack plugin to output compiling stats

npm node deps licenses

Installation

Via npm:

$ npm install webpack-compiling-stats-plugin --save-dev

Via yarn:

$ yarn add -D webpack-compiling-stats-plugin

output

Usage

const CompilingStatsPlugin = require('webpack-compiling-stats-plugin');

const webpackConfig = {
  ...
  plugins: [
    new CompilingStatsPlugin()
  ]
}

✍️ when using thread-loader, all the same file types have to be placed in the same rule.

rules: [
  {
    test: /\.(js|jsx)$/,
    loader: "eslint-loader",
    enforce: "pre"
  },
  {
    test: /\.(js|jsx)$/,
    use: ["thread-loader", "babel-loader"]
  }
];

->

rules: [
  {
    test: /\.(js|jsx)$/,
    use: ["thread-loader", "babel-loader", "eslint-loader"]
  }
];

Configuration

new CompilingStatsPlugin(options);

ignoredPlugins (default: [native webpack plugins])

List of webpack plugins are ignored when analyzing/logging

threadhold (default: 0)

The minimum time is accepted when logging

log

The function logs stats

About

Webpack plugin to output compiling stats

Topics

Resources

Stars

10 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages