Can't seem to load .env variables using create-react-app --template=typescript not sure what I'm missing. Can anyone help out? process.env.REACT_APP_GRAPHQL
variable is undefined and process.env
just returns an empty object.
Using "react-scripts": "3.4.1"
EDIT: figured it out answer below