SvelteKit private environment variables not exported.
Hello! During when my project is being built, I get errors like this:
My sveltekit project builds fine locally, maybe because I actually have a .env file. On CF Pages, I set the environment variables in the settings to the same as my local, but it looks like it's not able to find them during the build. I've looked around I saw that people have put the environment variables file into their github repo, but I wanted to ask here if there was another solution. I'm currently don't have an .env in my repo.
0 Replies