Linking this RFC from @hi-ogawa and associated repo as it's relevant to the Environment API discussions. https://github.com/vitejs/vite/discussions/20913 https://github.com/hi-ogawa/vite-plugin-fullstack