Skip to content

steffanhalv/webpack-customizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Hook into any webpack hooks with custom functionality

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published