webpack-customizer

1.0.3 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    2
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i webpack-customizer

Weekly Downloads

2

Version

1.0.3

License

MIT

Last publish

Collaborators

  • steffanhalv