-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
Passing environment variable to React app #36
Comments
Probably the best solution is adding a new sbt setting that would allow passing these variables to underlying npm commands. Should be easily doable. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi There,
Is there way to pass environment variables to React app? In our application we need to pass an environment variable to React app. Usually in React app the environment variable must prefix
REACT_APP_
, but passing variable at run time doesn't work.There is option to have environment specific files but then you need different Docker image for each application.
Any solution to this your mind?
Regards,
Syed
The text was updated successfully, but these errors were encountered: