Skip to content

[wrangler] Detect configless Vite apps in autoconfig#14073

Draft
irvinebroque wants to merge 3 commits into
cloudflare:mainfrom
irvinebroque:fix-autoconfig-configless-vite
Draft

[wrangler] Detect configless Vite apps in autoconfig#14073
irvinebroque wants to merge 3 commits into
cloudflare:mainfrom
irvinebroque:fix-autoconfig-configless-vite

Conversation

@irvinebroque

Copy link
Copy Markdown
Contributor

Detects Vite projects from package.json during automatic configuration when no more specific framework is found. For configless Vite apps, Wrangler now creates a minimal vite.config with @cloudflare/vite-plugin and can validate declared Vite versions before dependencies are installed.


  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: This improves automatic detection/configuration behavior without changing user-facing docs or adding new commands/config options.

A picture of a cute animal (not mandatory, but encouraged)

@changeset-bot

changeset-bot Bot commented May 27, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 86d9e76

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
wrangler Patch
@cloudflare/vite-plugin Patch
@cloudflare/vitest-pool-workers Patch

Not sure what this means? Click here to learn what changesets are.

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

@pkg-pr-new

pkg-pr-new Bot commented May 27, 2026

Copy link
Copy Markdown
create-cloudflare

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

@cloudflare/deploy-helpers

npm i https://pkg.pr.new/@cloudflare/deploy-helpers@14073

@cloudflare/kv-asset-handler

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

miniflare

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

@cloudflare/pages-shared

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

@cloudflare/unenv-preset

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

@cloudflare/vite-plugin

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

@cloudflare/vitest-pool-workers

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

@cloudflare/workers-editor-shared

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

@cloudflare/workers-utils

npm i https://pkg.pr.new/@cloudflare/workers-utils@14073

wrangler

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

commit: 86d9e76

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

2 participants