#Making Prisma work with ESM
1 messages · Page 1 of 1 (latest)
The epic stack is running Prisma and ESM at the same time https://github.com/epicweb-dev/epic-stack/blob/main/app/utils/db.server.ts
Hot damn, how come there's no import error 😆
Anyway, thanks a ton!
Is this part of the new tutorial ?
This is part of Kent C Dodds' upcoming Epic Web course
If you're getting import errors, check your package.json to see if it's type: module, and check your tsconfig to see how different it is from the epic stack
I don't anymore