@prisma/engine-core forces users to enable esModuleInterop #2681
Labels
bug/1-unconfirmed
Bug should have enough information for reproduction, but confirmation has not happened yet.
kind/bug
A reported bug.
tech/typescript
Issue for tech TypeScript.
Milestone
Bug description
Consumers of
@prisma/client
@prisma/sdk
beta 8 need to have their tsconfig setup withesModuleInterop: true
ORskipLibCheck: true
. This was not the case in beta 4.The source of the issue is not
@prisma/client
@prisma/sdk
but rather@prisma/engine-core
.In the screenshot below the
code .
part is when I go enableesModuleInterop
in the project.How to reproduce
You can repro on this branch graphql-nexus/nexus-plugin-prisma#137. I have not spent the effort to make a minimal repro yet sorry!
Expected behavior
As a consumer of
@prisma/client
@prisma/sdk
I expect a modern experience which in part means not being the source of requiring my project to flip theesModuleInterop
flag in my tsconfig setting.Prisma information
Its a tsconfig thing
Environment & setup
Don't think this matters.
The text was updated successfully, but these errors were encountered: