diff --git a/packages/mdx/package.json b/packages/mdx/package.json index e50572c..76fdb2c 100644 --- a/packages/mdx/package.json +++ b/packages/mdx/package.json @@ -1,6 +1,6 @@ { "name": "@mintlify/mdx", - "version": "1.0.0", + "version": "1.0.1", "description": "Markdown parser from Mintlify", "main": "./dist/index.js", "types": "./dist/index.d.ts", diff --git a/packages/mdx/src/client/rsc.tsx b/packages/mdx/src/client/rsc.tsx index 4d11331..3b627ed 100644 --- a/packages/mdx/src/client/rsc.tsx +++ b/packages/mdx/src/client/rsc.tsx @@ -5,7 +5,7 @@ import remarkGfm from 'remark-gfm'; import remarkMath from 'remark-math'; import remarkSmartypants from 'remark-smartypants'; -import { rehypeSyntaxHighlighting } from '../plugins'; +import { rehypeSyntaxHighlighting } from '../plugins/index.js'; export async function MDXRemote({ source, diff --git a/packages/mdx/tsconfig.json b/packages/mdx/tsconfig.json index 79edba3..2d215f5 100644 --- a/packages/mdx/tsconfig.json +++ b/packages/mdx/tsconfig.json @@ -6,9 +6,7 @@ "target": "ES2021", "outDir": "dist", "declaration": true, - "moduleResolution": "node", - "module": "esnext", - "allowJs": true + "module": "Node16" }, "include": ["**/*.ts", "**/*.tsx"], "exclude": ["node_modules", "dist"]