-
-
Notifications
You must be signed in to change notification settings - Fork 630
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
[Bug]: Getting "should have __webpack_require__.f.consumes" error with module federation enabled #7417
Comments
I also faced this bug. My application have 1 worker and this bug occurred. When I comment out worker lines then app start working. Is that any update on how to fix that temporary @hverlin ? |
I did not find a way around this issue so far. |
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
bump |
bump workaround: use - ModuleFederationPluginV1 |
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
I can still reproduce in my project with the latest rsbuild version |
System Info
Using
1.0.1-beta.9
(but visible on earlier versions as well).Details
With module federation 1.5 (using https://rsbuild.dev/config/module-federation/options), I am getting the following error:
(seems similar to #6773)
Reproduce Steps
I think this is related to web-workers. In my code, I think that it's failing because of this line.
If I inline the web-worker in my code, the error goes away. This not a good workaround, however, as the performance of the application will suffer.
The text was updated successfully, but these errors were encountered: