add cloudflare workers support (#326)

This commit is contained in:
Aman Varshney
2025-06-16 22:55:26 +05:30
committed by GitHub
parent 5fc1ba164e
commit b34e94a09e
34 changed files with 556 additions and 538 deletions

View File

@@ -1,4 +1,8 @@
{{#if (eq dbSetup "prisma-postgres")}}
// import "dotenv/config"; uncomment this to load .env
{{else}}
import "dotenv/config";
{{/if}}
import path from "node:path";
import type { PrismaConfig } from "prisma";