You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/800-guides/430-nestjs.mdx
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,14 +73,16 @@ This creates a new `prisma` directory with the following contents:
73
73
-`prisma.config.ts`: A configuration file for your projects
74
74
-`.env`: A [dotenv](https://github.com/motdotla/dotenv) file, typically used to store your database credentials in a group of environment variables
75
75
76
-
### 2.3. Set the generator output path
76
+
### 2.3. Set the generator output path and update the module format
77
77
78
-
Specify your output `path` for the generated Prisma client either by passing `--output ../src/generated/prisma` during `prisma init`, or directly in your Prisma schema:
78
+
Specify your output `path` for the generated Prisma client by either passing `--output ../src/generated/prisma` during `prisma init` or directly in your Prisma schema. Also, update the `moduleFormat` to `cjs`:
0 commit comments