Skip to content

Commit 90fdc5a

Browse files
committed
Add exports field to package.json
1 parent 1a815a4 commit 90fdc5a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

package.json

+8
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55
"main": "lib/index.js",
66
"module": "lib/index.mjs",
77
"types": "lib/index.d.ts",
8+
"exports": {
9+
"./package.json": "./package.json",
10+
".": {
11+
"types": "./lib/index.d.ts",
12+
"import": "./lib/index.mjs",
13+
"default": "./lib/index.js"
14+
}
15+
},
816
"files": [
917
"lib"
1018
],

0 commit comments

Comments
 (0)