This is causing some issues with prisma (I know ag...
# sst
t
This is causing some issues with prisma (I know again) which expects some contents of
node_modules
to be available (some binary files)
j
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
sweet didn't realize I could disable bundling, let me try
ah it's because I added srcPath which is why behavior changed
ty!