Commit 114dc60
authored
docs(generators): add tip for tsx users about importFileExtension (#7714)
Users running Prisma 7's generated client with tsx frequently encounter
'Cannot find module ./internal/class.js' errors because tsx cannot resolve
.js imports to .ts files. This adds a tip explaining the fix
(importFileExtension = "ts") directly in the generators reference.
Addresses recurring questions in Discussions #29318, #29347.1 parent 77e6609 commit 114dc60
File tree
1 file changed
+16
-0
lines changed- apps/docs/content/docs/orm/prisma-schema/overview
1 file changed
+16
-0
lines changedLines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
157 | 173 | | |
158 | 174 | | |
159 | 175 | | |
| |||
0 commit comments