Webpack plugin that gives ability to add callback after build.
npm install --save-dev on-build-webpack
In config file:
var WebpackOnBuildPlugin = require('on-build-webpack');
// ...
module: {
plugins: [
new WebpackOnBuildPlugin(function(stats) {
// Do whatever you want...
}),
]
},
// ...