docs(cloudflare): modify import in Cloudflare configuration example

Updated import statement to include 'd1' from 'bknd/adapter/cloudflare'.
This commit is contained in:
Mathieu Schimmerling
2026-01-02 19:13:24 +01:00
committed by GitHub
parent 5163e2142e
commit 91a1fc8a0c

View File

@@ -214,7 +214,7 @@ Now you can use the CLI with your Cloudflare resources.
Instead, it's recommended to split this configuration into separate files, e.g. `bknd.config.ts` and `config.ts`:
```typescript title="config.ts"
import type { CloudflareBkndConfig } from "bknd/adapter/cloudflare";
import { d1, type CloudflareBkndConfig } from "bknd/adapter/cloudflare";
export default {
app: (env) => ({