docs(mdx): add clarification for mdxRs (#67237)

## Why?

Add clarification that you need the experimental config:

```
module.exports = withMDX({
  experimental: {
    mdxRs: true,
  },
})
```

when using [Turbopack](https://nextjs.org/docs/architecture/turbopack).

---------

Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
This commit is contained in:
Sam Ko 2024-06-28 05:56:25 -07:00 committed by GitHub
parent e6983b911b
commit fc87f8ee12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -782,6 +782,10 @@ module.exports = withMDX({
})
```
> **Good to know**:
>
> This option is required when processing markdown and MDX while using [Turbopack](/docs/architecture/turbopack) (`next dev --turbo`).
## Helpful Links
- [MDX](https://mdxjs.com)