1.0.3 • Published 6 years ago

webpack-customizer v1.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

WebpackCustomizer

Hook into any webpack hooks using your own custom function

Install

npm i webpack-customizer --d

Use

const WebpackCustomizer = require('webpack-customizer')

plugins: [
    new WebpackCustomizer({
      hook: 'before-emit', // default: 'emit'
      action (compilation) {
        // Takes any Params based on used hook
      }
    })
]

Hook api: https://webpack.js.org/api/compiler/#event-hooks

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago