Drizzle TeamDT
Drizzle Team3y ago
6 replies
MrGentle

Setting connectionString from env in sveltekit

I've been trying to get my connection string from .env into the drizzle.config.ts file, but vite aliases are not working within the file, so i cannot access the aliased sveltekit env variables.

I really don't want to export the variable as VITE_ since that could be a security risk in the future.
Was this page helpful?