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 3131 ],
3232 "sideEffects" : false ,
3333 "type" : " module" ,
34- "main" : " index.js" ,
35- "types" : " index.d.ts" ,
34+ "exports" : " ./index.js" ,
3635 "files" : [
3736 " lib/" ,
3837 " index.d.ts" ,
Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ import {slug} from 'github-slugger'
55import { toHtml } from 'hast-util-to-html'
66import { gfm } from 'micromark-extension-gfm'
77import { fromMarkdown } from 'mdast-util-from-markdown'
8+ import { gfmFromMarkdown , gfmToMarkdown } from 'mdast-util-gfm'
89import { toHast } from 'mdast-util-to-hast'
910import { toMarkdown } from 'mdast-util-to-markdown'
10- import { gfmFromMarkdown , gfmToMarkdown } from '../index.js'
1111import { spec } from './spec.js'
1212
1313test ( 'core' , async function ( t ) {
1414 await t . test ( 'should expose the public api' , async function ( ) {
15- assert . deepEqual ( Object . keys ( await import ( '../index.js ' ) ) . sort ( ) , [
15+ assert . deepEqual ( Object . keys ( await import ( 'mdast-util-gfm ' ) ) . sort ( ) , [
1616 'gfmFromMarkdown' ,
1717 'gfmToMarkdown'
1818 ] )
You can’t perform that action at this time.
0 commit comments