News for hackers. Stuff that matters.
Re:Node.js 20.6.0 will include built-in support for .env files by CharanSriram on Friday August 18, 2023 @05:13PM (#37182178)
Might be misunderstanding the problem, but what’s stopping you from using env variables like you specified? Create React App has this baked in by prefixing env variables with REACT_APP [1]; I’m assuming other configurations can achieve the same.

[1] https://create-react-app.dev/docs/adding-custom-environment-...

There are no comments on this comment yet.