Environment variables are looked up in the following places, in order, stopping once the variable is found.
process.env
.env.$(NODE_ENV).local
.env.local (Not checked when NODE_ENV is test.)
.env.$(NODE_ENV)
.env
For example, if NODE_ENV is development and you define a variable in both .env.development.local and .env, the value in .env.development.local will be used.
Notes
This PR closes #326
Assignee Checklist:
[x] The naming convention of the PR title is correct (See the comment at the top of this template)
Overview
This PR fixes issue #338, which causes sign-in failure.
Changes
scripts/setupEnv.mjs
postinstall
script inpackage.json
Review points
.env.development.local
file was skipped correctly on my Vercel account.Screen Captures
References
Notes
Assignee Checklist:
Reviewer Checklist: