Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

on-build-webpack2

kossnocorp164MIT0.2.0

Webpack4 plugin that gives ability to add callback after build

webpack, webpack4

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