chongsun2002 / Orbital

0 stars 0 forks source link

Prisma ESM compatability causing typescript transpiliation errors #2

Closed chongsun2002 closed 1 month ago

chongsun2002 commented 1 month ago

Current workaround is developing with tsconfig module set to CommonJS while writing code - to allow vscode extensions to suggest code properly, then compiling with module set to ESNext and running the index.js file.

Not sure how this quick fix will work during deployment, maybe write a script to ignore the errors. Gotta figure this out before CI/CD is done.

chongsun2002 commented 1 month ago

Solved issues by reconfiguring tsconfig.