File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 28
28
],
29
29
"sideEffects" : false ,
30
30
"type" : " module" ,
31
- "main" : " index.js" ,
32
- "types" : " index.d.ts" ,
31
+ "exports" : " ./index.js" ,
33
32
"files" : [
34
33
" lib/" ,
35
34
" index.d.ts" ,
Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ import * as acorn from 'acorn'
4
4
import { mdxJsx } from 'micromark-extension-mdx-jsx'
5
5
import { mdxMd } from 'micromark-extension-mdx-md'
6
6
import { fromMarkdown } from 'mdast-util-from-markdown'
7
+ import { mdxJsxFromMarkdown , mdxJsxToMarkdown } from 'mdast-util-mdx-jsx'
7
8
import { toMarkdown } from 'mdast-util-to-markdown'
8
9
import { removePosition } from 'unist-util-remove-position'
9
- import { mdxJsxFromMarkdown , mdxJsxToMarkdown } from './index.js'
10
10
11
11
test ( 'core' , async function ( t ) {
12
12
await t . test ( 'should expose the public api' , async function ( ) {
13
- assert . deepEqual ( Object . keys ( await import ( './index.js ' ) ) . sort ( ) , [
13
+ assert . deepEqual ( Object . keys ( await import ( 'mdast-util-mdx-jsx ' ) ) . sort ( ) , [
14
14
'mdxJsxFromMarkdown' ,
15
15
'mdxJsxToMarkdown'
16
16
] )
You can’t perform that action at this time.
0 commit comments