These docs cover 0.2.0-beta.26. Each guide distinguishes supported beta behavior, explicit deployment boundaries, and retained 0.1 compatibility material.

Browse documentationAll guides

Ship · first-party adapter

Deploy to Cloudflare

The first Presolve adapter targets Cloudflare Workers Static Assets. It validates the compiler publication, creates a provider projection, and hands the immutable asset inventory to Wrangler.

Static-only beta adapter

Executable loaders and server actions are rejected. The adapter never silently turns arbitrary application JavaScript into a Worker runtime.

1. Authenticate Wrangler

pnpm exec wrangler whoamipnpm exec wrangler login

Use browser login for local work. In CI, provide scoped Cloudflare credentials through the environment and never commit secret values.

2. Verify and prepare

pnpm checkpnpm buildpnpm deploy:prepare

Preparation writes .presolve/cloudflare/ and verifies the digest inventory without uploading it.

3. Deploy

pnpm deploy

The adapter validates the publication again before Wrangler uploads it. Workers Static Assets then serves the generated routes and their matching files.

Repository hygiene

  • Ignore generated dist/ and .presolve/ directories.
  • Commit application source and explicit provider configuration.
  • Keep .dev.vars, .env*, Wrangler tokens, and account secrets out of source.
  • Deploy the complete matching resumability inventory.
Continue to VS Code and tooling →