DEV Community

Discussion on: Using environment variables in SvelteKit (and Vite)

danawoodman profile image
Dana Woodman Author

It crashes for you on npm run build? It is working fine for me on a fresh SvelteKit project, maybe you can try from scratch to eliminate variables? Do you have a specific adapter you're using?