module-federation-examples icon indicating copy to clipboard operation
module-federation-examples copied to clipboard

Is there any example of using server rendering with rspack?

Open sowtame opened this issue 1 year ago • 2 comments

sowtame avatar Feb 27 '24 10:02 sowtame

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

ScriptedAlchemy avatar Mar 05 '24 03:03 ScriptedAlchemy

server and rspack should work now: https://module-federation.io/plugin/plugins/index.html

ScriptedAlchemy avatar May 01 '24 23:05 ScriptedAlchemy