Skip to content

Commit eab9962

Browse files
authored
Merge pull request #11 from mintlify/ronan/fix-dir-import
fix: remove dir import
2 parents f7d4680 + 050d128 commit eab9962

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

packages/mdx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mintlify/mdx",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Markdown parser from Mintlify",
55
"main": "./dist/index.js",
66
"types": "./dist/index.d.ts",

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)