Hi, configuration file env.local When was it loaded into the application? #719
Answered
by
calebmshafer
shenshengyi
asked this question in
Q&A
-
Hi, configuration file env.local When was it loaded into the application? I want to control where it is placed, but I can't find the code to load it. |
Beta Was this translation helpful? Give feedback.
Answered by
calebmshafer
Feb 5, 2021
Replies: 1 comment 1 reply
-
Hey @shenshengyi, if you're using react-scripts ( |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
shenshengyi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @shenshengyi, if you're using react-scripts (
@bentley/react-scripts
) you can go over to the create-react-app for more details on the way they load the files. All of the.env
files are expected to be located as a peer of thepackage.json
.