-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
docs: add note that prerendering is not yet supported on cf workers #5694
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
WalkthroughDocumentation updates to React and Solid static prerendering guides add informational notes indicating that prerendering on Cloudflare Workers is not yet supported and is under development. No logic, configuration, or control flow changes applied. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (2)docs/**/*.{md,mdx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
docs/{router,start}/**📄 CodeRabbit inference engine (AGENTS.md)
Files:
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
There is a workaround. Simply remove the Cloudflare plugin and use this wrangler - {
"$schema": "node_modules/wrangler/config-schema.json",
"name": "start-intl-example",
"compatibility_date": "2025-09-02",
"compatibility_flags": ["nodejs_compat"],
"main": "./dist/server/server.js",
"assets": {
"directory": "dist/client",
"html_handling": "drop-trailing-slash"
}
}Bindings won't work, but Environment variables do. Which suffices for most use cases. |
As noted on Discord: “right now prerendering does not run using wrangler and hence fails when you reference cloudflare env during prerendering”.
Documentation update: added a note in the Static Prerendering section.
Docs only.
Summary by CodeRabbit