fix: revert exports change, it only works in node v20

This commit is contained in:
Bjorn Stromberg 2023-06-04 09:02:47 +08:00
parent 61a437eba3
commit 3c29f6deea

View file

@ -11,10 +11,8 @@
"url": "https://sindresorhus.com"
},
"type": "module",
"exports": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"engines": {
"node": ">=14.16"
},