It seems that I'm making progress in the #singlespa world.
A seemingly working version of the vite-plugin-single-spa plug-in for #vite is out and proving fruitful.
#singlespa #vite #react #vue #svelte
Are you interested in #singlespa? If you are, and would like to use it with Vite, we need to get some attention from the Vite core team!
This is a discussion to get a change done to support single-spa:
https://github.com/vitejs/vite/discussions/13927
@bluwy maybe you could assist me in my noble quest? Many thanks in advance.
@evanw Awesome!
Is there any plan to ever add #systemJS module format support?
There's just this old and somewhat forgotten thread https://github.com/evanw/esbuild/issues/192
It is literally the only reason our company cannot move on to using @vite - because we use #singlespa we need systemJS to polyfill for old browsers that don't support ESM.
We *could* use vite for production builds since those are done using @rollupjs , but esbuild is used for dev/HMR mode and just unusable for us 😢
Hey, #singlespa fans! Now there's a new, very easy way of creating Vite + <Your Favorite Framework> projects as single-spa micro-frontends, or even root projects!
https://www.npmjs.com/package/vite-plugin-single-spa
I just released the first experimental version. One Vite plugin and voilá!, your project is now ready to play the single-spa game.
Your feedback will greatly help shape this new plug-in.
#singlespa #vite #svelte #vue #react #solid #angular
So, create-single-spa. Am I right?🧐
This is how you can ditch create-single-spa in favor of #vite -powered projects that work simultaneously as standalone web applications and #singlespa mifes: https://webjose.hashnode.dev/making-your-vite-project-standalone-and-single-spa-simultaneously
Bookmark the series if the topic interest you: https://webjose.hashnode.dev/series/single-spa-and-svelte
As many others, I too have been given the cold shoulder when it comes to good #singlespa documentation. So I started a discovery process. Want to join me?
I'm writing a series of articles: https://webjose.hashnode.dev/series/single-spa-and-svelte
My goal is to use single-spa with #svelte, but my techniques should be good for all frameworks.
Let me know if you are interested in anything in particular around single-spa!