Enable javascript in your browser for better experience. Need to know to enable it? Go here.
已发布 : Apr 13, 2021
Not on the current edition
This blip is not on the current edition of the Radar. If it was on one of the last few editions it is likely that it is still relevant. If the blip is older it might no longer be relevant and our assessment might be different today. Unfortunately, we simply don't have the bandwidth to continuously review blips from previous editions of the Radar Understand more
Apr 2021
评估 ? 在了解它将对你的企业产生什么影响的前提下值得探索

Webpack 5 模块联邦 功能的发布,受到了微前端架构开发者的高度期待。该功能引入了一种更加标准化的方式来优化模块依赖和共享代码的管理与加载。模块联邦允许共享模块规范,通过一次加载多个模块使用的代码,从而帮助消除微前端之间的重复依赖。它还能够区分本地模块和远程模块,远程模块实际上并不是构建的一部分,而是异步加载的。与诸如npm软件包之类的构建时依赖项相比,这可以显著简化那些随着多个下游依赖而更新的模块的部署。但是请注意,这要求你将所有微前端与Webpack捆绑在一起,而不是像导入映射那样,最终可能会成为W3C标准的一部分。

Radar

下载第25期技术雷达

English | Español | Português | 中文

Radar

获取最新技术洞见

 

立即订阅

查看存档并阅读往期内容