Skip to content

Commit

Permalink
fix: support Node16 resolution types
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Jan 28, 2023
1 parent ebceedf commit 247844e
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions package.json
Expand Up @@ -19,13 +19,18 @@
"files": [
"dist"
],
"main": "./dist/index.js",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"types": "./dist/index.d.cts",
"exports": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
},
"scripts": {
"lint": "eslint --cache .",
Expand Down

0 comments on commit 247844e

Please sign in to comment.