https://serverless-stack.com/ logo
#sst
Title
# sst
t

thdxr

02/12/2021, 5:12 PM
This is causing some issues with prisma (I know again) which expects some contents of
node_modules
to be available (some binary files)
j

Jay

02/12/2021, 6:03 PM
Yeah SST generates a temp dir to bundle the Lambda functions. But it shouldn't affect the
node_modules
. Are you seeing another
node_modules
dir inside the
.build
?
This is the option that decides if it'll use esbuild to bundle the functions, or just zip up the entire
srcPath
dir. https://docs.serverless-stack.com/constructs/Function#bundle
t

thdxr

02/12/2021, 6:05 PM
sweet didn't realize I could disable bundling, let me try
ah it's because I added srcPath which is why behavior changed
ty!
4 Views