vite-envs
JSON →Vite plugin (v4.6.2, actively maintained) that enables dynamic injection of environment variables at container startup rather than build time. Designed for Dockerized Vite apps, it generates a shell script during build that populates import.meta.env and index.html placeholders (e.g., %FOO%) at runtime. Unlike standard Vite which requires rebuilding for env changes, vite-envs allows deploying a single Docker image configurable via --env flags. Supports type-safe imports with hot reload, optional EJS in HTML, and explicit variable declaration. Does not require the VITE_ prefix.
Traffic · last 30 days ↓80% vs prev 7d
total hits 19
actors 3 distinct systems
last hit 7d ago human
top countries 🇨🇦 Canada · 🇺🇸 United States · 🇫🇷 France