Open martinpham97 opened 3 years ago
I'm getting TypeError: Cannot read property 'tap' of undefined when trying to compile with Webpack 5.
TypeError: Cannot read property 'tap' of undefined
tapable.hooks[name].tap(reason, callback); ^
After some digging, I notice that webpack 5 does not allow you to add custom hooks.
See: https://github.com/webpack/changelog-v5/blob/master/README.md#hook-object-frozen
Will there be support for Webpack 5 soon?
Thanks for your digging I will fix it later.
I'm getting
TypeError: Cannot read property 'tap' of undefined
when trying to compile with Webpack 5.After some digging, I notice that webpack 5 does not allow you to add custom hooks.
See: https://github.com/webpack/changelog-v5/blob/master/README.md#hook-object-frozen
Will there be support for Webpack 5 soon?