voidzero-dev/vite-plus

Add environment files to `.gitignore`

Closed

#2,086 opened on Jul 7, 2026

 (1 comment) (1 reaction) (0 assignees)Rust (242 forks)github user discovery
contribution welcomegood first issue

Repository metrics

Stars
 (5,494 stars)
PR merge metrics
 (Avg merge 1d 7h) (121 merged PRs in 30d)

Description

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.

Contributor guide