preview
command doesn't work with the community example
#3386
Unanswered
SeokminHong
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I encountered an issue while testing the module federation example in rsbuild (link). When I run the preview command, it doesn't behave as expected.
To address CORS errors and public path configuration, I made the following changes in rsbuild.config.ts:
However, when I execute the setup, I get the following errors:
From the stack trace, it appears that the federation__provider script loaded by the provider resolves asset preloading against the root path instead of the provider's public path.
How can I resolve this issue? Any guidance would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions