node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

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... 
      }),
    ]
  },
// ...