#Microfrontends, Vite and / or Bun

1 messages · Page 1 of 1 (latest)

zealous solstice
#

Hey everyone! So, I’ve been toying with the idea of setting up some libraries using Bun, but I’m not too familiar with all the build options out there. In the past, I just used the standard setups with Angular, and way back when, I tinkered a bit with Webpack, but only in a very basic way. Now, I’d really love to dive into Bun’s native tools, especially the development server, which seems super interesting to me. The only thing is, from what I understand, Bun doesn’t fully support micro frontends for React just yet, and that’s something I’m really eager to experiment with. I’ve heard that Vite, which is another super-fast build tool, uses something called Module Federation, but I’m not really familiar with that concept either. So, I’m kind of torn: should I stick with Bun and see how it evolves, or should I jump over to Vite for now? Maybe there’s even some kind of plugin that lets me use Module Federation with Bun? I’d love to hear your thoughts on the best way to go about building a really modular frontend setup.

lyric flicker