Skip to content

Fix dotenv file loading order - #9037

Merged
mrmckeb merged 4 commits into
react:masterfrom
Timer:hotfix/dotenv-order
May 29, 2020
Merged

Fix dotenv file loading order#9037
mrmckeb merged 4 commits into
react:masterfrom
Timer:hotfix/dotenv-order

Conversation

@Timer

Copy link
Copy Markdown
Contributor

This fixes the loading priority order to match that of the dotenv spec:
https://github.com/bkeepers/dotenv#what-other-env-files-can-i-use

@ianschmitz

Copy link
Copy Markdown
Contributor

Thanks Joe. Looks like a test needs to be updated.

@mrmckeb
mrmckeb merged commit 26a1c7f into react:masterMay 29, 2020
@Timer
Timer deleted the hotfix/dotenv-order branch May 29, 2020 15:16
@Timer

Copy link
Copy Markdown
ContributorAuthor

Thanks @mrmckeb for handling the test updates!

rfreling pushed a commit to rfreling/create-react-app that referenced this pull request May 30, 2020
* Fix dotenv file loading order
* tests: fix failing env tests
* tests: fix more failing tests
Co-authored-by: Brody McKee <mrmckeb@hotmail.com>
@mrmckeb

mrmckeb commented May 31, 2020

Copy link
Copy Markdown
Contributor

No problem, I know you're super busy.

victor-travelperk pushed a commit to travelperk/create-react-app that referenced this pull request Jun 8, 2020
* Fix dotenv file loading order
* tests: fix failing env tests
* tests: fix more failing tests
Co-authored-by: Brody McKee <mrmckeb@hotmail.com>
@locklockBot locked and limited conversation to collaborators Jun 24, 2020
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@Timer@ianschmitz@mrmckeb@iansu@rodoabad@petetnt@facebook-github-bot