Module Federation: Building remote-only entries without index.js requirement #6548
Unanswered
vlad-musienko
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.
-
Hey everyone.
I'm migrating Module Federation apps from Webpack to Rsbuild. Many apps are remote-only (no standalone entry point, only expose federated modules).
Issue:
Webpack allowed building with just ModuleFederationPlugin config, no entry file needed
Rsbuild requires an entry file, so I created empty index.js files as a workaround. (Now I have to tell teams "don't delete this empty file" which feels odd and creates confusion)
Questions:
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions