webpack/webpack
在 GitHub 查看Module Federation Share should support layers/issuerLayer
Open
#18,988 创建于 2024年11月18日
enhancementhelp wantedinactive
仓库指标
- Star
- (65,766 star)
- PR 合并指标
- (平均合并 1天 5小时) (30 天内合并 180 个 PR)
描述
Feature request
Loader layers currently have no convention for support when using something like issueLayer, for example with RSC
What is the expected behavior?
There should be a convention to specify or auto assign the layers used when creating the shares
What is motivation or use case for adding/changing the behavior?
RSC support likely will need loader layers or layers to work
How should this be implemented in your opinion?
Unsure but i think it needs to be cone at ConsumeShared and ProvideShared, either in the hooks or in the Module classes of these - but i do not know
Are you willing to work on this yourself? yes