on-build-webpack
Version:
Webpack plugin that gives ability to add callback after build
30 lines (21 loc) • 429 B
Markdown
[](http://webpack.github.io/) plugin that gives ability to add callback
after build.
```
npm install --save-dev on-build-webpack
```
In config file:
``` javascript
var WebpackOnBuildPlugin = require('on-build-webpack');
// ...
module: {
plugins: [
new WebpackOnBuildPlugin(function(stats) {
// Do whatever you want...
}),
]
},
// ...
```