runtime-env-vite-plugin

📁 runtime-env/runtime-env 📅 13 days ago
1
总安装量
1
周安装量
#53712
全站排名
安装命令
npx skills add https://github.com/runtime-env/runtime-env --skill runtime-env-vite-plugin

Agent 安装分布

gemini-cli 1

Skill 文档

runtime-env-vite-plugin

This skill ensures that environment variables are handled correctly in Vite projects by distinguishing between build-time (static) variables and runtime (dynamic) variables.

When to apply

Reference these guidelines when:

  • Setting up a Vite project that requires environment variables.
  • Writing code that accesses environment variables in a Vite project.
  • Configuring index.html that uses environment variables.
  • Refactoring existing Vite projects to properly use runtime environment variables.
  • Reviewing code for proper environment variable usage in Vite projects.
  • Optimizing CI/CD pipelines

Overview

Use this skill when working on a Vite-based project that uses @runtime-env/vite-plugin. It provides guidance on configuration, usage in code, and usage in index.html.

Rules