Tree-shaking support for module federation #12532
Unanswered
XiaofengXie16
asked this question in
Q&A
Replies: 1 comment 4 replies
|
Because we don't know which components you will use, how you imagine it? |
4 replies
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.
Is there going to be a plan for adding tree shaking support for module federation?
Use case:
Several of my apps are sharing 10-15 ui components from a large UI library (tree-shakable) . However, when I try to use module federation to share this library, I would have to share the entire UI library instead of the components that the apps use which means I have to download unused code from the library.
All reactions