- Published on
The Hidden Danger of Importing Prisma Enums in Client-Side Code
Why importing Prisma enums directly in client-side code breaks production builds and the constants pattern that solves it.
Why importing Prisma enums directly in client-side code breaks production builds and the constants pattern that solves it.