Skip to content

feat(nextjs): Next.js integration (OpenNext, wrangler-free)#82

Draft
john-royal wants to merge 1 commit into
claude/framework-integrationsfrom
claude/nextjs-integration
Draft

feat(nextjs): Next.js integration (OpenNext, wrangler-free)#82
john-royal wants to merge 1 commit into
claude/framework-integrationsfrom
claude/nextjs-integration

Conversation

@john-royal

Copy link
Copy Markdown
Collaborator

Next.js/OpenNext integration, split from #74 for further iteration before landing.

@distilled.cloud/nextjs + fixtures/nextjs: OpenNext build via child-process deep import (2-field in-memory config, inert wrangler stub — no wrangler code executes), esbuild finishing pass, static-assets populateCache, dev "preview" mode (built worker under cloudflare-runtime) and dev "hmr" mode (real next dev with bindings from cloudflare-runtime's platform proxy planted on the getCloudflareContext() contract). Fixture e2e: 20/20 (live + preview + hmr).

Planned iteration before un-drafting:

  • Final bundle pass on rolldown (cloudflare-rolldown-plugin) instead of esbuild
  • @opennextjs/cloudflare as an internal dependency rather than a peer
  • Track opennextjs/adapters-api (the Next.js Adapter API-based successor, expected later this year) and retarget the build runner when its cloudflare adapter ships

🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant