mirror of
https://github.com/supabase/supabase.git
synced 2026-05-07 23:19:23 +08:00
Our environment variables are a bit of a mess, so cleaning them up: - We have duplicate environment variables that resolve to the same thing but just have different names, deduplicating all of these - We have a .env.development (for publicly safe variables) and a .env.example, we really only need one - Privately, we have a .env (for running scripts) and a .env.local (for Next.js). Changing the dotenv source for scripts, so again we only need one
6 lines
93 B
TypeScript
6 lines
93 B
TypeScript
import dotenv from 'dotenv'
|
|
|
|
dotenv.config({ path: '.env.local' })
|
|
|
|
export default undefined
|