Patch Changes
-
#412
58b200f
Thanks @dario-piotrowicz! - adddefineCloudflareConfig
utilitythis change adds a new
defineCloudflareConfig
utility that developers can use in theiropen-next.config.ts
file to easily generate a configuration compatible with the adapterExample usage:
// open-next.config.ts import { defineCloudflareConfig } from "@opennextjs/cloudflare"; import kvIncrementalCache from "@opennextjs/cloudflare/kv-cache"; export default defineCloudflareConfig({ incrementalCache: kvIncrementalCache, });