We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
export
1 parent 59af2e5 commit f9348f1Copy full SHA for f9348f1
package.json
@@ -34,8 +34,7 @@
34
],
35
"sideEffects": false,
36
"type": "module",
37
- "main": "index.js",
38
- "types": "index.d.ts",
+ "exports": "./index.js",
39
"files": [
40
"lib/",
41
"index.d.ts",
test.js
@@ -9,8 +9,8 @@
9
import assert from 'node:assert/strict'
10
import test from 'node:test'
11
import {u} from 'unist-builder'
12
+import {Index} from 'unist-util-index'
13
import {select} from 'unist-util-select'
-import {Index} from './index.js'
14
15
test('core', async function (t) {
16
await t.test('should expose the public api', async function () {
0 commit comments