feat: add Prisma layer build scripts and configuration for Lambda deployment
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# Base packaging patterns shared across all functions
|
||||
# Note: Prisma 7 uses driver adapters (no binary engines) - everything is in the layer
|
||||
pattern1: 'src/common/**'
|
||||
pattern2: 'common/**'
|
||||
pattern3: 'node_modules/@prisma/client/**'
|
||||
pattern4: 'node_modules/.prisma/client/libquery_engine-rhel-openssl-3.0.x.so.node'
|
||||
pattern5: '!node_modules/.prisma/client/libquery_engine*'
|
||||
# Prisma packages are now provided by the layer, no need to include in function package
|
||||
pattern3: '!node_modules/@prisma/**'
|
||||
pattern4: '!node_modules/.prisma/**'
|
||||
pattern5: '!node_modules/pg/**'
|
||||
Reference in New Issue
Block a user