voidzero-dev/vite-plus

Add environment files to `.gitignore`

Chiusa

#2086 aperta il 7 lug 2026

 (1 commento) (1 reazione) (0 assegnatari)Rust (247 fork)github user discovery
contribution welcomegood first issue

Metriche repository

Star
 (5591 stelle)
Metriche merge PR
 (Merge medio 1g 7h) (121 PR mergiate in 30 g)

Descrizione

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.

Guida contributor