-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with Webpack 5 #27
Comments
Hi @K-Leon, this plugin does not yet support webpack@5+ You can try your luck with https://github.com/WebHotelier/webpack-fast-refresh -- it closely follows changes to WARNING: We do not plan maintaining |
This is on my radar, unfortunately I won't have time to fix this yet.
This is a known issue #15 |
I also got react-refresh-webpack-plugin/src/helpers/createRefreshTemplate.js Lines 47 to 49 in 5735809
The following patch made things seem to work:
|
First of Thanks for this great plugin!
But i'm still struggeling getting it to work - i was experimenting with Webpack 5 and stumbled over this issue:
Error: NormalModuleFactory.afterResolve is no longer a waterfall hook, but a bailing hook instead. Do not return the passed object, but modify it instead. Returning false will ignore the request and results in no module created.
If you drop the return statement in the mentioned hook it will continue to compile, but there seems to be issues with detecting the react refresh plugin.
The text was updated successfully, but these errors were encountered: