fix: mdxRs unsupported with current setup

This commit is contained in:
Andy Kenward committed 2023-05-16 13:23:30 +00:00
1 parent 08bcd7d2db
commit 659208ad1c
1 file changed
+3 -1
+3 -1
View File
@@ -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}}',