Skip to content

Commit 8d39f66

Browse files
authored
Add node subpath export (#741)
1 parent 37ea058 commit 8d39f66

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

package.json

+9-3
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,22 @@
1515
".": {
1616
"node": {
1717
"types": "./index.d.ts",
18-
"import": "./index.js"
18+
"import": "./index.js",
19+
"module-sync": "./index.js"
1920
},
2021
"default": {
2122
"types": "./core.d.ts",
22-
"import": "./core.js"
23+
"import": "./core.js",
24+
"module-sync": "./core.js"
2325
}
2426
},
2527
"./core": {
2628
"types": "./core.d.ts",
27-
"import": "./core.js"
29+
"default": "./core.js"
30+
},
31+
"./node": {
32+
"types": "./index.d.ts",
33+
"default": "./index.js"
2834
}
2935
},
3036
"sideEffects": false,

0 commit comments

Comments
 (0)