on-build-webpack2
v0.2.0
Published
Webpack4 plugin that gives ability to add callback after build
Downloads
212
Readme
on-build-webpack
For Webpack 4 Webpack plugin that gives ability to add callback after build.
Installation
npm install --save-dev on-build-webpack2
Usage
In config file:
var WebpackOnBuildPlugin = require('on-build-webpack2');
// ...
module: {
plugins: [
new WebpackOnBuildPlugin(function(stats) {
// Do whatever you want...
}),
]
},
// ...