Vite Core Environment API

Use when configuring SSR environments, edge workers, custom environments, or migrating to the Vite 6+ environment model. Prevents using the Environment API on Vite 5 (where it does not exist) and misconfiguring per-environment vs shared plugin scoping. Covers per-environment build and dev settings, EnvironmentOptions interface, custom environment providers, shared vs per-environment plugins, configuration inheritance, and migration from Vite 5 implicit environments. Keywords: vite, environment api, vite 6, SSR, edge workers, per-environment config, providers, separate client server config, custom runtime, worker environment.

Impertio-Studio c9a3629 4 files · 29.0 KB Updated

File contents

Impertio-Studio/Vite-Claude-Skill-Package/tree/main/skills/source/vite-core/vite-core-environment-api commit c9a3629325

Frequently asked questions

npx skillmds@latest add impertio-studio/vite-core-environment-api