0.0.1 • Published 4 years ago

webpack-compiling-stats-plugin v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

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.

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