Prompt Buddy logoPrompt Buddy

cloudflare · Cloudflare Workers Docs

Workers Vite plugin

Integrates the Vite build tool with the Cloudflare Workers runtime to enable local development, hot module replacement, and production-ready asset building for full-stack applications.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workers Vite plugin

Integrates the Vite build tool with the Cloudflare Workers runtime to enable local development, hot module replacement, and production-ready asset building for full-stack applications.

When To Use

Use when setting up a development environment for Vite-based projects that need to run within the Cloudflare Workers runtime or when deploying SPAs and full-stack applications to Cloudflare.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-vite-plugin-workflow-guide.mdA documentation page explaining the features, use cases, and integration between the Vite build tool and the Cloudflare Workers runtime.Questions about a documentation page explaining the features, use cases, and integration between the Vite build tool and the Cloudfla...

What This Skill Covers

  • The Cloudflare Vite plugin enables a full-featured integration between Vite ↗ and the Workers runtime. Your Worker code runs inside workerd ↗, matching the p...
  • Main sections: Features, Use cases, Get started.

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/vite-plugin