Skip to content

Commit 098d694

Browse files
committed
chore(package): add exports field
1 parent 54df118 commit 098d694

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
"main": "intersect.js",
66
"types": "intersect.d.ts",
77
"type": "module",
8+
"exports": {
9+
".": {
10+
"import": "./intersect.js",
11+
"types": "./intersect.d.ts"
12+
},
13+
"./package.json": "./package.json"
14+
},
815
"scripts": {
916
"all": "run-s lint test",
1017
"lint": "eslint .",

0 commit comments

Comments
 (0)