gxc
gxc
CDCloudflare Developers
Created by gxc on 1/5/2024 in #pages-help
Bindings not available at build time
I have a SvelteKit app that has some prerendered api/page routes. These routes should ideally be rendered with data from KV/D1, but despite the bindings being available in non-prerendered routes runtime, they are not available during build time. Is this the expected behaviour and if so, what's the recommended way around this?
4 replies