Hacker News new | ask | show | jobs
by byteCoder 277 days ago
OpenNext on Cloudflare is the only way I've successfully gotten NextJS to work in a Cloudflare Worker.

https://opennext.js.org/cloudflare

1 comments

Interesting. Yea, I didn't want a worker, just a static html page with my javascript.
You need to configure it for static export if that’s what you want: https://nextjs.org/docs/app/guides/static-exports

But this won’t support all framework features. The default expectation for Next.js is with a server runtime for SSR.