Hello, I've been digging through chat and the documentation to look for a way to use D1 with `vite d

Hello, I've been digging through chat and the documentation to look for a way to use D1 with
vite dev
and the best I could find is re-running the production build. https://discord.com/channels/595317990191398933/1042974692186804295/1048148731670835290

For SvelteKit specifically, it looks like the
platform
parameter needs to be able to receive the D1 client library when developing locally: https://github.com/sveltejs/kit/issues/4292
That may eventually be addressable through the adapter. This would be great to have to improve the developer experience.
Could I be missing something meanwhile? The docs mention a
--d1
flag to set up the database binding locally, but I assume that's for the
wrangler
CLI and not Vite.
Was this page helpful?