I created a react app using the bun init react template with tailwindcss. When trying to access my environment variables with process.env it sometimes fails. Some things i have noticed is that when i access: process.env.NODE_ENV it works and returns development as im in dev. When i make a .env file in the root of my project or in my src folder and try and access a test variable HELLO, defined as HELLO=WORLD, using any of these notations: process.env.HELLO; process.env.BUN_PUBLIC_HELLO; and import.meta.env.BUN_PUBLIC_HELLO it gives me an error saying process is undefined.
Any ideas? let me know if more info is needed