短评 · ·

X 归档 2024-09-24

1 条动态 · 图 1 · 视频 0
Rslib will soon support Module Federation.

This allows a library to concurrently generate ESM, CJS, Module Federation, and DTS outputs in a single build.

Libraries built with Rslib can not only be published to npm. They can also provide remote modules for use by MF consumers.
Rslib 即将支持 Module Federation。

这让一个库可以在单次构建中同时产出 ESM、CJS、Module Federation 和 DTS。

用 Rslib 构建的库不仅能发布到 npm,还能提供远程模块供 MF 消费方使用。
@rspack_dev 的配图 1/1