webpack-compiling-stats-plugin
v0.0.1
Published
Webpack plugin to output compiling stats
Downloads
6
Readme
Webpack Compiling Stats Plugin
Webpack plugin to output compiling stats
Installation
Via npm:
$ npm install webpack-compiling-stats-plugin --save-dev
Via yarn:
$ yarn add -D webpack-compiling-stats-plugin
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