build-time-reporter-webpack-plugin
v1.4.3
Published
Webpack plugin for build time reporting
Downloads
139
Maintainers
Readme
build-time-reporter-webpack-plugin
Installation
npm install build-time-reporter-webpack-plugin --save-dev
Usage
webpack.config.js
const BuildTimeReporterWebpackPlugin = require('build-time-reporter-webpack-plugin');
module.exports = {
plugins: [
new BuildTimeReporterWebpackPlugin({
report: (report) => console.log('Here is there report!', report),
}),
],
};
Configuration
new BuildTimeReporterWebpackPlugin(options?: object)
|Name|Type|Description|
|:--:|:--:|:----------|
|report
|(report) => void
|Callback function with report as argument. This should be used|