Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: mdxRs unsupported with current setup

Andy Kenward659208ad1c95
diff --git a/apps/docs/next.config.mjs b/apps/docs/next.config.mjs
index 47fe88b4ffa..d33090df77e 100644
--- a/apps/docs/next.config.mjs
+++ b/apps/docs/next.config.mjs
@@ -1,3 +1,4 @@
+// @ts-check
import nextMdx from '@next/mdx'
import remarkGfm from 'remark-gfm'
import rehypeSlug from 'rehype-slug'
@@ -64,7 +65,8 @@ const nextConfig = {
],
},
experimental: {
- mdxRs: true,
+ // TODO: @next/mdx ^13.0.2 only supports experimental mdxRs flag. next ^13.0.2 will stop warning about this being unsupported.
+ // mdxRs: true,
modularizeImports: {
lodash: {
transform: 'lodash/{{member}}',