An update on Module Federation: We're officially recommending module-federation/vite.
Why?
We first we spent months exploring built-in MF support in Rolldown, even reimplemented MF 2.0 from scratch for both
@rolldown_rs and
@vite_js.
What we learned is that not only the scope is huge, but that most MF features inevitably live in the JS plugin layer and not the bundler.
Meanwhile,
@giorgio_boa had already shipped full Vite 7/8 support in module-federation/vite. In collaboration with
@dalaoshv,
@nstlopez,
@2hea1, and
@Zackary_Chapple, more bug fixes and examples have been added.
Instead of duplicating effort, we're going all-in on collaboration instead. If there are blocking things in the bundler, we are happy to help fix them, but we won't be building a separate MF implementation in Rolldown.