Skip to content

Commit ed89b4d

Browse files
Merge pull request #522 from LivDunn/master
fix: package.json not defined by exports warning
2 parents 820f1bf + 4456f6a commit ed89b4d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@
66
"main": "index.js",
77
"module": "index.mjs",
88
"exports": {
9-
"import": "./index.mjs",
10-
"require": "./index.js"
9+
".": {
10+
"import": "./index.mjs",
11+
"require": "./index.js"
12+
},
13+
"./package.json": "./package.json"
1114
},
1215
"scripts": {
1316
"benchmark": "node benchmark",

0 commit comments

Comments
 (0)