When using the Cloudflare Vite plugin to build and deploy Workers, a Wrangler configuration file is now optional for assets-only (static) sites. If no wrangler.toml , wrangler.json , or wrangler.jsonc file is found, the plugin generates sensible defaults for an assets-only site. The name is based on the package.json...
Workers - Wrangler config is optional when using Vite plugin
Cloudflare Developer Platform Changelog · 2025-12-08
Related items
Workers - Configure Workers programmatically using the Vite plugin
The Cloudflare Vite plugin now supports programmatic configuration of Workers without a Wrangler configuration file. You can use the config option to define Worker settings directly in your Vite configuration, or to modify existing configuration loaded from a Wrangler config file. This is particularly useful when in...
Workers - No config? No problem. Just `wrangler deploy`
You can now deploy any existing project to Cloudflare Workers — even without a Wrangler configuration file — and wrangler deploy will just work . Starting with Wrangler 4.68.0 , running wrangler deploy automatically configures your project by detecting your framework, installing required adapters, and deploying it t...
Workers - Wrangler and the Cloudflare Vite plugin support `.env` files in local development
Now, you can use .env files to provide secrets and override environment variables on the env object during local development with Wrangler and the Cloudflare Vite plugin. Previously in local development, if you wanted to provide secrets or environment variables during local development, you had to use .dev.vars file...
Workers - Declare required secrets in your Wrangler configuration
The new secrets configuration property lets you declare the secret names your Worker requires in your Wrangler configuration file. Required secrets are validated during local development and deploy, and used as the source of truth for type generation. wrangler.jsonc { " secrets " : { " required " : [ "APIKEY" , "DBP...
Workers - The Cloudflare Vite plugin is now Generally Available
The Cloudflare Vite plugin has reached v1.0 and is now Generally Available ("GA"). When you use @cloudflare/vite-plugin , you can use Vite's local development server and build tooling, while ensuring that while developing, your code runs in workerd , the open-source Workers runtime. This lets you get the best of bot...
Workers - The Cloudflare Vite plugin now supports Vite 7
Vite 7 is now supported in the Cloudflare Vite plugin. See the Vite changelog for a list of changes. Note that the minimum Node.js versions supported by Vite 7 are 20.19 and 22.12. We continue to support Vite 6 so you do not need to immediately upgrade.