Skip to content

Commit 823be5a

Browse files
committed
fix import
1 parent f7d4680 commit 823be5a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

packages/mdx/src/client/rsc.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import remarkGfm from 'remark-gfm';
55
import remarkMath from 'remark-math';
66
import remarkSmartypants from 'remark-smartypants';
77

8-
import { rehypeSyntaxHighlighting } from '../plugins';
8+
import { rehypeSyntaxHighlighting } from '../plugins/index.js';
99

1010
export async function MDXRemote({
1111
source,

packages/mdx/tsconfig.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
"target": "ES2021",
77
"outDir": "dist",
88
"declaration": true,
9-
"moduleResolution": "node",
10-
"module": "esnext",
11-
"allowJs": true
9+
"module": "Node16"
1210
},
1311
"include": ["**/*.ts", "**/*.tsx"],
1412
"exclude": ["node_modules", "dist"]

0 commit comments

Comments
 (0)