on-build-webpack2

0.2.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i on-build-webpack2

Weekly Downloads

126

Version

0.2.0

License

MIT

Unpacked Size

2.39 kB

Total Files

4

Last publish

Collaborators

  • oriens