excludeModels

Type: FileModel[]

Versioning History

API Version v1.0.0 - Introduced excludeModels configuration option.

Models included in this array will be excluded from the final bundled schema and will not trigger naming conflicts, as they won't be available to the remapper at the time of execution. To exclude a list of models, add the following line to your exported configuration object:

prisma-util.config.mjs
export default {
    // Other configuration lines
    excludeModels: ["yourPath:yourModel"]
}

Last updated