Skip to content

Webpack plugin that gives ability to add callback before build

License

Notifications You must be signed in to change notification settings

benelliott/pre-build-webpack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pre-build-webpack

Webpack plugin that gives ability to add callback before build.

Inspired by on-build-webpack, which provides a hook for the end of the build.

Installation

npm install --save-dev pre-build-webpack

Usage

In config file:

var WebpackPreBuildPlugin = require('pre-build-webpack');

// ...
  module: {
    plugins: [
      new WebpackPreBuildPlugin(function(stats) {
        // Do whatever you want before build starts...
      }),
    ]
  },
// ...

About

Webpack plugin that gives ability to add callback before build

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%