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

Swap .env.local and .env.<environment> priority #74

Merged

Conversation

helloitsjoe
Copy link
Contributor

Description

Swaps the priority of .env.local and .env.<environment> to match NextJS and Create React App. I believe this is the intended behavior added in #37

Resolves #73

Testing done

Tested locally to confirm this priority:

  1. .env.development.local
  2. .env.local
  3. .env.development
  4. .env

@entropitor entropitor merged commit 0794ca7 into entropitor:master Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

.env.local should have higher priority than .env.<environment>
2 participants