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.
exports
1 parent 48fdb15 commit e6601d2Copy full SHA for e6601d2
package.json
@@ -29,13 +29,12 @@
29
],
30
"sideEffects": false,
31
"type": "module",
32
- "main": "index.js",
+ "exports": "./index.js",
33
"files": [
34
"lib/",
35
"index.js",
36
"index.d.ts"
37
38
- "types": "index.d.ts",
39
"dependencies": {
40
"@types/estree-jsx": "^1.0.0",
41
"devlop": "^1.0.0",
test.js
@@ -6,7 +6,7 @@ import assert from 'node:assert/strict'
6
import test from 'node:test'
7
import {Parser} from 'acorn'
8
import jsx from 'acorn-jsx'
9
-import {fromEstree} from './index.js'
+import {fromEstree} from 'esast-util-from-estree'
10
11
const parser = Parser.extend(jsx())
12
0 commit comments