Closed aladdin-add closed 3 weeks ago
This should be fixed by https://github.com/vitejs/vite/pull/3032, but someone needs to write tests for it before it can be merged :(
edit: Also depends on https://github.com/vitejs/vite/pull/10555
FWIW Astro has solved this with this hack and it has been working great so far.
Duplicate of #30, so closing this.
I've made a repro: #42