Answer the question
In order to leave comments, you need to log in
Why is process.env an empty object in index.tsx?
I set env variables using cross-env like this:
"cross-env WEBPACK_MODE=development REACT_APP_TEST=12345 webpack serve --mode development --open"
Then I console.log in index.tsx but process.env is empty .
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question