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

Example for Vite Remix Module Federation

Open jiamingsu opened this issue 11 months ago • 3 comments

Hi Module Federation Team,

Would you please create an module federation example for Remix + Vite? I think Remix currently use Vite as the bundler by default The current example in the repo is base on Webpack and Rspack.

Many thanks

jiamingsu avatar Jan 14 '25 17:01 jiamingsu

I would love an example, on how this can be configured as well. Eagerly waiting the day that @ScriptedAlchemy posts on X about remix+vite+mf support 😀

rushilpatel0 avatar Jan 27 '25 20:01 rushilpatel0

+1 would be nice to have an example!

toyamarodrigo avatar Feb 24 '25 17:02 toyamarodrigo

Ill only provide a rsbuild remix example, finalizing the plugin but need to address some bug in esm output of rspack first. I do not believe its possible for vite to perform ssr with esm outputs, it will leak memory in production.

ScriptedAlchemy avatar Feb 28 '25 00:02 ScriptedAlchemy