Skip to content

Commit

Permalink
Change to use exports
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Aug 23, 2023
1 parent 296bf89 commit f1bdb73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
],
"sideEffects": false,
"type": "module",
"main": "index.js",
"types": "index.d.ts",
"exports": "./index.js",
"files": [
"lib/",
"index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import remarkParse from 'remark-parse'
import remarkStringify from 'remark-stringify'
import remarkToc from 'remark-toc'
import {unified} from 'unified'
import {messageControl} from 'unified-message-control'
import {VFile} from 'vfile'
import {messageControl} from './index.js'

/** @type {import('unified').Processor<Root, Root, Root, Root, 'string'>} */
// @ts-expect-error: to do: remove when remark is released.
Expand Down

0 comments on commit f1bdb73

Please sign in to comment.