更新 prisma 配置,减小打包体积

This commit is contained in:
2025-09-17 14:38:24 +08:00
parent 8c9cb94d92
commit b27a409d0f
9 changed files with 57 additions and 55 deletions

View File

@@ -1,4 +1,4 @@
import { PrismaClient } from '@prisma/client'
import {PrismaClient} from '@/generated/prisma'
const globalForPrisma = global as unknown as {
prisma: PrismaClient | undefined