voidzero-dev/vite-plus

Add environment files to `.gitignore`

已关闭

#2,086 创建于 2026年7月7日

 (1 条评论) (1 个反应) (0 位负责人)Rust (247 个派生)github user discovery
contribution welcomegood first issue

仓库指标

星标
 (5,591 个星标)
PR 合并指标
 (平均合并 1天 7小时) (30 天内合并 121 个 PR)

描述

Description

Hi, would it be possible to add these files to the default .gitignore when creating a new project with Vite+?

.env
.env.local
.env.*.local

Suggested solution

Add .env files to the default .gitignore

Alternative

No response

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
  • Check that there isn't already an issue requesting the same feature.

贡献者指南