Skip to content

Add environment files to .gitignore #2086

Description

@Mrahmani71

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.

Metadata

Metadata

Assignees

No one assigned

    Fields

    Priority

    None yet

    Start date

    None yet

    Target date

    None yet

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions