generators
Experimental Feature
Type: GeneratorConfig
Define the generators that will be picked up by Prisma Util and which ones should run. To configure this behavior, add the following lines to your configuration object:
export default {
// Other configuration lines
generators: {
include: ["prisma/generators.prisma"],
run: {
"prisma/generators.prisma:generatorName": env("RUN_GENERATOR") == "true"
}
}
};
Last updated