Skip to content

Commit bcd9c19

Browse files
authored
docs: Clarify ignoreBuildErrors behavior (#91367)
Just a complementary note to the TS config reference.
1 parent 3683192 commit bcd9c19

File tree

1 file changed

+2
-0
lines changed
  • docs/01-app/03-api-reference/05-config/01-next-config-js

1 file changed

+2
-0
lines changed

docs/01-app/03-api-reference/05-config/01-next-config-js/typescript.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ Next.js fails your **production build** (`next build`) when TypeScript errors ar
2929

3030
If you'd like Next.js to dangerously produce production code even when your application has errors, you can disable the built-in type checking step.
3131

32+
Note that this completely skips the TypeScript type checking step. It does not run TypeScript and suppress errors, it bypasses the check entirely.
33+
3234
If disabled, be sure you are running type checks as part of your build or deploy process, otherwise this can be very dangerous.
3335

3436
```js filename="next.config.js"

0 commit comments

Comments
 (0)