π―
runtime-env-vite-plugin
π―Skillfrom runtime-env/runtime-env
What it does
Configures Vite projects to handle runtime environment variables with proper distinction between build-time and dynamic variables.
runtime-env-vite-plugin
Installation
npxRun with npx
npx --package @runtime-env/cli runtime-env gen-js --output-file runtime-env.jsnpxRun with npx
npx -p @runtime-env/cli runtime-env gen-js --output-file runtime-env.jsnpxRun with npx
npx -p @runtime-env/cli runtime-env gen-ts --output-file runtime-env.d.tsnpxRun with npx
npx -p @runtime-env/cli runtime-env interpolate --input-file index.html --output-file index.htmlnpxRun with npx
npx -p @runtime-env/cli runtime-env --schema-file ...π Extracted from docs: runtime-env/runtime-env
1Installs
-
AddedFeb 4, 2026
Skill Details
SKILL.md
Guidance on using runtime-env with Vite to distinguish between runtime and build-time environment variables.