webszy / webpack-auto-zip

provide a webpack plugin then you will call functions when webpack compiler done
1 stars 1 forks source link

报错 #1

Open william-xue opened 3 years ago

william-xue commented 3 years ago

自己在项目里试里一下 报错 可能是与某些插件兼容存在问题 报错信息为 done compiler.hooks.done.tap('done', () => { ^

TypeError: Cannot read property 'done' of undefined

webszy commented 3 years ago

我看官方文档里,webpack4或者5都支持这个,你的webpack版本不会更低吧?https://www.webpackjs.com/api/compiler-hooks/#done