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 31
31
],
32
32
"sideEffects" : false ,
33
33
"type" : " module" ,
34
- "main" : " index.js" ,
35
- "types" : " index.d.ts" ,
34
+ "exports" : " ./index.js" ,
36
35
"files" : [
37
36
" lib/" ,
38
37
" index.d.ts" ,
Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ import {slug} from 'github-slugger'
5
5
import { toHtml } from 'hast-util-to-html'
6
6
import { gfm } from 'micromark-extension-gfm'
7
7
import { fromMarkdown } from 'mdast-util-from-markdown'
8
+ import { gfmFromMarkdown , gfmToMarkdown } from 'mdast-util-gfm'
8
9
import { toHast } from 'mdast-util-to-hast'
9
10
import { toMarkdown } from 'mdast-util-to-markdown'
10
- import { gfmFromMarkdown , gfmToMarkdown } from '../index.js'
11
11
import { spec } from './spec.js'
12
12
13
13
test ( 'core' , async function ( t ) {
14
14
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 ( ) , [
16
16
'gfmFromMarkdown' ,
17
17
'gfmToMarkdown'
18
18
] )
You can’t perform that action at this time.
0 commit comments