File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 2828 ],
2929 "sideEffects" : false ,
3030 "type" : " module" ,
31- "main" : " index.js" ,
32- "types" : " index.d.ts" ,
31+ "exports" : " ./index.js" ,
3332 "files" : [
3433 " lib/" ,
3534 " index.d.ts" ,
Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ import * as acorn from 'acorn'
44import { mdxJsx } from 'micromark-extension-mdx-jsx'
55import { mdxMd } from 'micromark-extension-mdx-md'
66import { fromMarkdown } from 'mdast-util-from-markdown'
7+ import { mdxJsxFromMarkdown , mdxJsxToMarkdown } from 'mdast-util-mdx-jsx'
78import { toMarkdown } from 'mdast-util-to-markdown'
89import { removePosition } from 'unist-util-remove-position'
9- import { mdxJsxFromMarkdown , mdxJsxToMarkdown } from './index.js'
1010
1111test ( 'core' , async function ( t ) {
1212 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 ( ) , [
1414 'mdxJsxFromMarkdown' ,
1515 'mdxJsxToMarkdown'
1616 ] )
You can’t perform that action at this time.
0 commit comments