You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 6, 2021. It is now read-only.
This is actually how react-scripts works. It's an intentional feature. cross-env is doing things correctly. It's just that react-scripts wont make all env variables available to your frontend code.
cross-env
version: 6.0.3node
version: 12.13.0npm
(oryarn
) version: 6.13.1What you did:
What happened:
Reproduction repository:
Problem description:
When I run my package.json script I cant get my custom variable, it only works when I use REACT_APP_* variables or NODE_ENV
Suggested solution:
create process env variables for every custom variable.
The text was updated successfully, but these errors were encountered: