Refactor Prisma client usage and enhance service integration for improved connection management

This commit is contained in:
paritosh18
2025-12-09 13:49:20 +05:30
parent a39cc1c3c8
commit b6cb5831c2
7 changed files with 49 additions and 38 deletions

View File

@@ -82,11 +82,12 @@ build:
platform: node
# Mark as external so they're not bundled into the JS
external:
# - '@prisma/client'
# - '.prisma/client'
# - '.prisma'
- '@prisma/client'
- '.prisma/client'
- '.prisma'
- '@prisma/adapter-pg'
- 'pg'
- 'zod'
- '@aws-sdk/*'
- '@smithy/*'
- '@aws-crypto/*'
@@ -97,10 +98,11 @@ build:
- '@smithy/*'
- '@aws-crypto/*'
- '@prisma/adapter-pg'
# - '@prisma/client'
# - '.prisma'
# - '.prisma/client'
- '@prisma/client'
- '.prisma'
- '.prisma/client'
- 'pg'
- 'zod'
- 'pg-*'
- 'postgres-*'
- 'pgpass'