Overview
OpenNext for Cloudflare is an adapter that deploys Next.js applications to Cloudflare’s developer platform. It takes the output of next build in standalone mode and adapts it to run in the workerd runtime using the Workers Node.js compatibility layer.
Getting started
Follow the OpenNext documentation to start a new project or migrate an existing one; the package is published on npm as @opennextjs/cloudflare.
Repository layout
packages/— the@opennextjs/cloudflarepackage that builds a Workers-compatible output.examples/— Next.js applications that use it.
Prereleases
Besides regular npm releases, every push publishes a prerelease through pkg.pr.new: @opennextjs/cloudflare@main (latest, reasonably stable) and @opennextjs/cloudflare@experimental.