Skip to content

Commit

Permalink
fix: package.json not defined by exports warning
Browse files Browse the repository at this point in the history
  • Loading branch information
LivDunn committed Apr 22, 2022
1 parent 820f1bf commit 4456f6a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@
"main": "index.js",
"module": "index.mjs",
"exports": {
"import": "./index.mjs",
"require": "./index.js"
".": {
"import": "./index.mjs",
"require": "./index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"benchmark": "node benchmark",
Expand Down

0 comments on commit 4456f6a

Please sign in to comment.