on-build-webpack

Webpack plugin that gives ability to add callback after build

MIT 1 个版本
安装
npm install on-build-webpack
yarn add on-build-webpack
pnpm add on-build-webpack
bun add on-build-webpack
README

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...
      }),
    ]
  },
// ...
版本列表
0.1.0 2014-10-11