Skip to main content
Version: Next (2.x)

PrismaPluginOptions

Configuration options for the Prisma plugin

Properties

PropertyTypeDefault valueDescription

generatedSchemaPath

string

undefined

Path to the generated schema file for comparison Used to avoid unnecessary regeneration

Example

'node_modules/@prisma/client/schema.prisma'

prismaSchema

string

undefined

Path to the Prisma schema file

Example

'prisma/schema.prisma'

generateClient?

boolean

true

Whether to generate the Prisma client

generateCommand?

string

'prisma generate'

Custom command to generate Prisma client