Skip to content

Keep Cloudflare builds on compatible Vite plugin betas - #854

Merged
cpojer merged 1 commit into
mainfrom
codex/fix-cloudflare-build-output-range
Nov 17, 2026
Merged

cpojer merged 1 commit into
mainfrom
codex/fix-cloudflare-build-output-range

Conversation

@yangshun

@yangshun yangshun commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Fresh npm and pnpm installs resolve @cloudflare/vite-plugin@2.0.0-rc.0 from the current caret range. The RC writes Cloudflare Build Output v1, while Void's current reader expects v0, so builds fail looking for .cloudflare/output/v0/config.json.

Bound the plugin to compatible beta releases until the Cloudflare stack migrates together. The existing workspace lock stays on beta.v.15; fresh consumers resolve beta.v.17. This fixes the independent prepublish failure on #852.

Validation:

  • CI=true vpr test:all: formatting, lint, builds, typechecking, and 17,428 tests passed (35 skipped).
  • Full packed npm/pnpm × React/Vue/Svelte/Solid matrix, plus npm/pnpm Vite+ starters, passed.
  • Frozen installation, vp dedupe --check, 9 focused Cloudflare compatibility tests, and 13 packed-harness tests passed.

Fresh production-install file contents: 714.18 → 558.82 MiB (−155.37 MiB, 21.75%). Measured with the complete locally packed Void 1.9.1 cohort on macOS arm64, Node 24.22.2/npm 11.19.1, using npm --omit=dev and counting hardlinked files once.

@yangshun
yangshun requested a review from a team as a code owner November 16, 2026 13:32

@morinokami morinokami left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 I had the same fix ready. The published 1.9.1 is affected too, since fresh installs pick up the RC and fail to build, so a quick release would be great.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://codex-fix-cloudflare-build-output-range-void-cloud.voidzero-docs.workers.dev (commit 5440d5e)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://fab8e528-void-cloud.voidzero-docs.workers.dev 5440d5e 2026-11-16T13:33:12.501Z Visit the dashboard ↗

@cpojer cpojer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm working on it.

@cpojer
cpojer merged commit 4cb60ce into main Nov 17, 2026
19 checks passed
@cpojer
cpojer deleted the codex/fix-cloudflare-build-output-range branch November 17, 2026 00:11
@cpojer

cpojer commented Nov 17, 2026

Copy link
Copy Markdown
Member

1.10.0 is shipping now.

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.

3 participants