Skip to content

Add more instructions to Next.js on cloudflare docs page #25560

@dctanner

Description

@dctanner

Existing documentation URL(s)

What changes are you suggesting?

Lots of people are now migrating next.js to OpenNext on workers. However there are a bunch of gotchas. One of them that drove me mad is the fact that env vars have to be duplicated in the Build Vars section when you connect github to deploy.

It would be great if https://developers.cloudflare.com/workers/framework-guides/web-apps/nextjs/ either contained to linked to a page which specifically explained how to configure workers builds with OpenNext. E.g. it should include this support important piece of info: https://opennext.js.org/cloudflare/howtos/env-vars#workers-builds

Additional information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions