Post

About Environment API, check out this thread bsky.app/profile/pata...

patak@patak.cat

Enough cats. Feedback post for Environment API. @vite.dev v5 has two implicit Environments: client, ssr. In v6 you can configure as many as needed. We'll release it soon. If you're building on Vite, and find something to improve, don't keep that feedback for yourself: main.vite.dev/guide/api-en...

It just so happens that we decided to migrate to v6 to fix the srcset bug. Turned out, everything worked flawlessly - no migration required. Good job!