Using process.env gives me the error posted in the subject.
I have come across the solution to use
sed in the build command, and it works, but I’d rather not use that approach as it exposes my environment variables with a simple “view source”. Might as well have them hard-coded as regular variables.
Is there some other way to pull in environment variables? Again, without having to resort to Node, dotenv etc.
Thanks in advance.