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
}
})
]