The pseudo tapable based on Proxy
npm install tapable-proxy

The pseudo tapable based on Proxy. tapable-proxy could create fake hooks which can be tapped even before the creation of real hooks.
``sh`
$ npm i tapable-proxy
`js
const {
create,
APPLY_TAPS,
SET_HOOKS
} = require('tapable-proxy')
// Create a fake hook proxy
const hooks = create()
hooks.afterEmit.tap('MyPlugin', compilation => {
// ...
})
// Apply all taps to webpack compiler hooks
hooksAPPLY_TAPS
// Proxy the follow-up taps to compiler hooks
hooksSET_HOOKS
`
- realHooks {[string]: Tapable} the real tapable hooksboolean=true
- clean? If true, the tapped handlers will be maintained after applied. Defaults to true
Set the underlying hooks of the proxy as realHooks, and after that follop-up taps will directly tap into realHooks`.