Preparing for system design interviews?  Try bugzed.com →

vite-plugin-runtime-config

JSON →
library 1.0.2 ·javascript
verified Jun 18, 2026

A Vite plugin (v1.0.2) enabling runtime configuration for static builds. Unlike Vite's built-in env variables that are baked at build time, this plugin allows dynamic replacement of config placeholders (e.g., {{ VITE_X }}) in index.html via a generated script (patch_runtime_config.js). Supports development mode (auto-replacement from Vite env) and production mode (post-build script execution). Requires Vite ^3.1.0 and Vitest >0.23.2 <1.0 as peer dependencies. Suitable for projects served by external webservers without SSR.

total hits 16
actors 5 distinct systems
last hit 24d ago AhrefsBot
GPTBot
4
ClaudeBot
3
Script
1
Humans
4

top countries 🇺🇸 United States · 🇩🇪 Germany · BD · VN · 🇬🇧 United Kingdom