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.

貢獻者指南