I’m trying to use the nodeModules array to mark @p...
# orm-help
j
I’m trying to use the nodeModules array to mark @prisma/client and prisma as external deps, and also use the beforeInstall hook to copy the prisma.schema in the target directory
r
@Julien Goux 👋 This might help. I’ve answered the way to do that here and will write a doc as well on this 👍
j
I was missing the prisma generate, thanks 😄
🙌 2
Hey @Ryan, I’m continuing my work with CDK, now I’d like to make a lambda layer to share the prisma client among my lambdas
What are the minimal required folders from node_modules to include?
Reading the sources quickly, I assume there is @prisma/client and .prisma/client
is there anything else beyond those two?
.prisma/client containing the engine I assume it’s enough?
r
Yup that should be enough 👍