Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Webpack 5 incompatibility #10

Open
martinpham97 opened this issue Oct 12, 2020 · 1 comment
Open

Webpack 5 incompatibility #10

martinpham97 opened this issue Oct 12, 2020 · 1 comment

Comments

@martinpham97
Copy link

I'm getting TypeError: Cannot read property 'tap' of undefined when trying to compile with Webpack 5.

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?

@wuzekang
Copy link
Owner

Thanks for your digging I will fix it later.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants