Prompt Buddy logoPrompt Buddy

cloudflare · Cloudflare Workers Docs

Workers Migrate from Wrangler v1 to v2

A step-by-step guide for transitioning Workers projects from Wrangler v1 to v2, covering webpack configuration changes and general update procedures.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workers Migrate from Wrangler v1 to v2

A step-by-step guide for transitioning Workers projects from Wrangler v1 to v2, covering webpack configuration changes and general update procedures.

When To Use

Use when upgrading a Cloudflare Workers project from the legacy Wrangler v1 CLI to Wrangler v2 or when updating webpack configurations to maintain compatibility with the newer version.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-wrangler-migration-migrate-from-v1-to-v2-workflow-guide.mdA guide detailing the steps to migrate Cloudflare Workers projects from Wrangler v1 to Wrangler v2, including webpack project migration.Questions about a guide detailing the steps to migrate Cloudflare Workers projects from Wrangler v1 to Wrangler v2, including webpack...

What This Skill Covers

  • This guide details how to migrate from Wrangler v1 to v2.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.cloudflare.com/workers/wrangler/migration/v1-to-v2