GRV-Summit-Site/next.config.ts
“kirukib” 3693495dd0
Some checks are pending
Deploy to Cloudflare Workers (OpenNext) / deploy (push) Waiting to run
Add site-wide topography patterns and refine section styling.
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>
2026-05-20 20:34:36 +03:00

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;