Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(vite): add false option for envDir to disable env loading #19503

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

OnlyWick
Copy link
Contributor

Description

close #19373.

@OnlyWick
Copy link
Contributor Author

OnlyWick commented Feb 24, 2025

This will cause all .env files to not be loaded. If using dotenvx, you can access the env variables injected by dotenvx through process.env.ENV_NAME.

@sapphi-red sapphi-red added the p2-to-be-discussed Enhancement under consideration (priority) label Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2-to-be-discussed Enhancement under consideration (priority)
Projects
Status: Discussing
Development

Successfully merging this pull request may close these issues.

Add envDir: false option
2 participants