Skip to content

Upgrade the Cloudflare Vite Plugin. - #516

Open
cpojer wants to merge 2 commits into
mainfrom
codex/cloudflare-vite-v2
Open

cpojer wants to merge 2 commits into
mainfrom
codex/cloudflare-vite-v2

Conversation

@cpojer

@cpojer cpojer commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

This PR upgrades the Cloudflare Vite plugin to 2.0, and aligns the versions of cf and miniflare to reduce unpacked install size from 383 MiB to 351 MiB.

The new configuration types from the Cloudflare Vite plugin are supported by bridging through void.config.ts.

@cpojer
cpojer requested a review from a team as a code owner October 21, 2026 01:03
@socket-security

socket-security Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​cloudflare/​vite-plugin@​2.0.0-beta.v.3981008798100
Updatedcf@​1.0.0-beta.18 ⏵ 1.0.0-beta.20100 +110099 +299 +1100

View full report

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://codex-cloudflare-vite-v2-void-cloud.voidzero-docs.workers.dev (commit e481877)

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://fa82e761-void-cloud.voidzero-docs.workers.dev e481877 2026-10-21T01:09:17.950Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://d7c300c6-void-cloud.voidzero-docs.workers.dev 0fe6eb9 2026-10-21T01:04:11.550Z Visit the dashboard ↗

@cpojer
cpojer requested a review from Brooooooklyn October 21, 2026 02:13
@cpojer

cpojer commented Oct 21, 2026

Copy link
Copy Markdown
Member Author

Actually, this adds a cloudflare.config.ts and .cloudflare folder to every downstream project, which is confusing, and not super useful when we deploy to Void platforms. I'll look into whether we can fix this upstream.

@cpojer

cpojer commented Oct 21, 2026

Copy link
Copy Markdown
Member Author

Upstream PR: cloudflare/workers-sdk#16401

This branch has not been deployed

No deployments
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