We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
export
1 parent 22e7e04 commit 87b7dfcCopy full SHA for 87b7dfc
package.json
@@ -31,8 +31,7 @@
31
],
32
"sideEffects": false,
33
"type": "module",
34
- "main": "index.js",
35
- "types": "index.d.ts",
+ "exports": "./index.js",
36
"files": [
37
"index.d.ts",
38
"index.js"
test.js
@@ -1,9 +1,9 @@
1
import assert from 'node:assert/strict'
2
import test from 'tape'
3
import {fromMarkdown} from 'mdast-util-from-markdown'
4
-import {find} from './index.js'
+import {find} from 'unist-util-find'
5
6
-test('unist-find', function (t) {
+test('find', function (t) {
7
const tree = fromMarkdown('Some _emphasis_, **strongness**, and `code`.')
8
assert(tree.type === 'root')
9
const paragraph = tree.children[0]
0 commit comments