serverless-webpack-prisma icon indicating copy to clipboard operation
serverless-webpack-prisma copied to clipboard

Different Prisma output directory

Open zack37 opened this issue 1 year ago • 0 comments

Is there a way to specify in the plugin to use something other than node_modules where prisma is generated?

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "darwin-arm64", "rhel-openssl-1.0.x", "linux-arm64-openssl-1.0.x"]
  output        = "../generated/prisma"
}

We output several binaries as we're transitioning to arm on lambda

zack37 avatar Aug 29 '23 19:08 zack37