Skip to content

Commit 9e15c45

Browse files
committed
refactor: use import and require fields
1 parent 03bb4d9 commit 9e15c45

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
"author": "Mark <[email protected]>",
66
"main": "index.js",
77
"module": "index.mjs",
8-
"exports": "./index.mjs",
8+
"exports": {
9+
"import": "./index.mjs",
10+
"require": "./index.js"
11+
},
912
"scripts": {
1013
"benchmark": "node benchmark",
1114
"build": "rollup --config --failAfterWarnings",

0 commit comments

Comments
 (0)