cloudflare · Cloudflare Workers Docs
Workers Migrating from wrangler dev
A guide for transitioning from wrangler dev to the Cloudflare Vite plugin, covering configuration file changes, environment variable handling, and mapping deprecated Wrangler options to Vite equivalents.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers Migrating from wrangler dev
A guide for transitioning from wrangler dev to the Cloudflare Vite plugin, covering configuration file changes, environment variable handling, and mapping deprecated Wrangler options to Vite equivalents.
When To Use
Use when migrating a Cloudflare Worker project from a standard Wrangler development workflow to a Vite-based build system and needing to map configuration settings or environment variables.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-vite-plugin-migrating-from-wrangler-dev-workflow-guide.md | A guide detailing the differences and configuration changes required when migrating from wrangler dev to the Cloudflare Workers Vite plugin. | Questions about a guide detailing the differences and configuration changes required when migrating from wrangler dev to the Cloudfla... |
What This Skill Covers
- In most cases, migrating from wrangler dev is straightforward and you can follow the instructions in Get started. There are a few key differences to highlight:
- Main sections:
Input and output Worker config files,Cloudflare Environments,Redundant fields in the Wrangler config file,Not applicable,Not supported.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/vite-plugin/reference/migrating-from-wrangler-dev
