module-federation-examples
module-federation-examples copied to clipboard
Is there any example of using server rendering with rspack?
Not quite yet, Im avoiding writing the node implementation in rust. Instead im going to convert the node implementation into a runtime plugin for federation.
If you want to do it ahead of time (before i get to rewriting node federaton to just push a runteim plugin into MFP)
You can see how im writing the internal node federation runtime plugin in this PR.
This should work with rspack as there wont be any custom plugins needed in the compiler.
https://github.com/module-federation/universe/pull/2013
server and rspack should work now: https://module-federation.io/plugin/plugins/index.html