node package manager

on-build-webpack

on-build-webpack

Webpack plugin that gives ability to add callback after build.

Installation

npm install --save-dev on-build-webpack

Usage

In config file:

var WebpackOnBuildPlugin = require('on-build-webpack');
 
// ... 
  module: {
    plugins: [
      new WebpackOnBuildPlugin(function(stats) {
        // Do whatever you want... 
      }),
    ]
  },
// ...