DEV Community

Paul-Sebastian Manole
Paul-Sebastian Manole

Posted on

I Built a Better MFE Template (Because The Old One Sucked)

So, I've been stuck in MFE hell...

Lately, I've been wrestling with a relic of an MFE architecture at work. We're talking Webpack—yes, Webpack—for a brand new project. I mean, who does that anymore when you've got Webpack-compatible tools like Rsbuild and Rspack that don't make you want to rip your hair out?

The developer experience was an absolute joke. I'm talking minutes just to see a tiny change, and HMR was so broken you couldn't even call it that. It felt like I was back in the Stone Age of .NET Framework 4.0.

To save my sanity—and maybe change the whole team's setup—I started building a demo. And from the ashes of that frustration, this clean, simple, and actually modern MFE template with Rsbuild was born.

It's all on my GitHub here: https://github.com/brokenthorn/module-federation-template-rsbuild-rspack

The README should tell you everything you need to know, so I'm not going to bore you with the details here.

Go have some fun with it. You're welcome. 😉

Top comments (0)