I made some notes on using `.env` secrets in SvelteKit
SvelteKit uses Vite and `import.meta.env.VITE_NAME_OF_VARIABLE` is always available on the client so not good for hiding secret keys. Check out the post for more details.
SvelteKit .env secrets ยท Scott Spence
SvelteKit uses Vite and `import.meta.env.VITE_NAME_OF_VARIABLE` is always available on the client so not good for hiding secret keys. Check out the post for more details.
SvelteKit .env secrets ยท Scott Spence