Preparing for system design interviews?  Try bugzed.com →

vite-plugin-runtime-env

JSON →
library 1.0.0 ·javascript
verified Jun 18, 2026

Vite plugin that injects environment variables at runtime instead of build time, enabling adherence to 12-factor app principles. Current stable version is v1.0.0, released as first stable after a long period in pre-release. It replaces import.meta.env references with window.env lookups and inserts placeholder variables in index.html for substitution during deployment using tools like envsubst. Key differentiators: supports multiple substitution syntaxes (dollar-basic, dollar-curly, handlebars), optionally ignores certain variables for build-time replacement, and allows custom variable names. Requires Vite as a peer dependency.

total hits 19
actors 6 distinct systems
last hit 16d ago ChatGPT-User
GPTBot
4
ClaudeBot
3
ChatGPT-User
2
Script
1
Humans
4

top countries 🇺🇸 United States · 🇨🇦 Canada · VN · 🇫🇷 France · 🇩🇪 Germany