Open khalil-omer opened 1 year ago
I adhere to this request, please add file extension on this situation.
Really need this. Without .js extention on prisma client path and also on between file imports if multiple files is turned on cannot use this generator in esm projects
Found a workaround for now. Transpile using Babel with "babel-plugin-add-import-extension" plugin. Also set module: "Bundler" in tsconfig
When
useMultipleFiles
istrue
, the imports between generated files throw errors if using modern module resolution in the tsconfig.