First variable in .env file available to use, but can't use other variables.
.env file;
REACT_APP_PORT=44318
APP_BASE_URL=https://localhost:44318/
printed process.env content in console via code below;
export default () => {
useEffect(() => {
console.log('object', process.env)
})
This is what I see;
pcakage.json scripts;
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},