Skip to content

Conversation

dario-piotrowicz
Copy link
Member

@dario-piotrowicz dario-piotrowicz commented Oct 7, 2025

Fixes https://jira.cfdata.org/browse/DEVX-2232


Note

This PR introduces the variable that can be used locally to change the vite version being used for the playground tests, it is not adding this to the github workflows because currently the vite plugin doesn't seem to work well with vite 6 and rolldown-vite, once it does we should also use this variable in CI to run the playground tests against all (supported) vite versions


  • Tests
    • Tests included
    • Tests not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: Testing change
  • Wrangler V3 Backport
    • Wrangler PR:
    • Not necessary because: not a Wrangler change

…on of vite is used for the vite plugin playground tests
@dario-piotrowicz dario-piotrowicz requested review from a team as code owners October 7, 2025 11:33
Copy link

changeset-bot bot commented Oct 7, 2025

⚠️ No Changeset found

Latest commit: 980f3d2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

pkg-pr-new bot commented Oct 7, 2025

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@10900

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@10900

miniflare

npm i https://pkg.pr.new/miniflare@10900

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@10900

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@10900

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@10900

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@10900

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@10900

wrangler

npm i https://pkg.pr.new/wrangler@10900

commit: 980f3d2

import * as rolldownVite from "rolldown-vite";
import * as defaultVite from "vite";
import * as vite6 from "vite-6";
import * as vite7 from "vite-7";
Copy link
Member Author

Choose a reason for hiding this comment

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

having a separate/specific vite7 is unnecessary and I could just use defaultVite for testing vite 7, I just included this because I think that clearly separating the default vite module and the vite 7 one makes things clearer, I am happy to just reuse defaultVite if people don't like this

@github-project-automation github-project-automation bot moved this from Untriaged to Approved in workers-sdk Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Approved
Development

Successfully merging this pull request may close these issues.

3 participants