Module federation: build remote entry without default shared chunks (depend on host application for shared dependencies) #18347
jedwards1211
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using
ModuleFederationPlugin
to bundle custom React components customers write to be rendered by a host app. Since I'm intending to always sharereact
and other dependencies, I'd like to prevent Webpack from outputting default chunks for those dependencies, such that the remote entry would just error out if it fails to get the shared modules from the host container.Is there any way to do this?
Beta Was this translation helpful? Give feedback.
All reactions