1.4.3 • Published 2 years ago
build-time-reporter-webpack-plugin v1.4.3
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 |