[codex] add Cloudflare SSR for playground#1303
Draft
jderochervlk wants to merge 2 commits into
Draft
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
guide | fb02aa1 | May 20 2026, 08:52 PM |
1990b3b to
0aefaa6
Compare
0aefaa6 to
96a1e82
Compare
Cloudflare deploymentDeployement ID: 0baf752a-e62c-4df2-b71a-a9377f5446cc ⛅️ wrangler 4.85.0 ✨ Uploading _redirects |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
This is the first slice of the playground SSR work. The docs app can keep prerendering static routes while letting
/tryrun through Cloudflare Pages Functions.Summary
@rescript-lang/docs./tryfrom React Router prerender output while keeping the existing stdlib prerender paths./tryand/try.data.wrangler.tomlfor local Pages dev/deploy, includingnodejs_compatand the Pages projectname.outbefore copyingbuild/clientso stale prerendered/tryartifacts do not survive rebuilds.Validation
node .yarn/releases/yarn-4.13.0.cjs build:resnode .yarn/releases/yarn-4.13.0.cjs workspace @rescript-lang/docs build:vitenode_modules/.bin/oxfmt --check apps/docs/react-router.config.mjs apps/docs/app/entry.server.js apps/docs/server/react-router-handler.js apps/docs/functions/try.js apps/docs/functions/try.data.jsyarn ci:formatout:/,/try, and/try.datareturned200;/try.dataincludedbundleBaseUrlandversionsloader data.No generated
.jsxfiles are included in this PR.