Some checks are pending
Deploy to Cloudflare Workers (OpenNext) / deploy (push) Waiting to run
Use mainwhite.svg on white sections with curvy green transitions into flat green bands, improve text and button contrast, and deploy via OpenNext on Cloudflare Workers. Co-authored-by: Cursor <cursoragent@cursor.com>
17 lines
520 B
TypeScript
17 lines
520 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
/**
|
|
* OpenNext miniflare/wrangler integration only when you need Cloudflare bindings in `next dev`
|
|
* (e.g. `getCloudflareContext`). Leave unset for normal local dev — avoids extra patching and
|
|
* races with the dev server.
|
|
*
|
|
* OPENNEXT_CLOUDFLARE_DEV=1 npm run dev
|
|
*/
|
|
if (process.env.OPENNEXT_CLOUDFLARE_DEV === "1") {
|
|
void import("@opennextjs/cloudflare").then((m) => m.initOpenNextCloudflareForDev());
|
|
}
|
|
|
|
const nextConfig: NextConfig = {};
|
|
|
|
export default nextConfig;
|