I'm prototyping a single-spa which contains Vue apps built with Vite, following the very helpful example.
I've got vite build
to generate a single js file that single-spa can point to, and that's being loaded fine.
However vite build
always separates out the CSS into a separate CSS file. Ideally for use in single-spa it would be bundled within the same JS file. What's the optimal way to do this?
I can load this using the single-spa-css package, but I was expecting some rollup or vite.config.js
option to achieve this.
Thank you!