SPB Git
171 B · 4 lines typescript
1import { config } from "dotenv";2import { existsSync } from "node:fs";3for (const f of [".env.local", ".env"]) if (existsSync(f)) config({ path: f, quiet: true } as any);4
Files · d0878ed8ec6f375df09d3e415bf35d941ff62d79
Menu

Theme