Skip to content

Commit

Permalink
fix: add default tshy exports
Browse files Browse the repository at this point in the history
Co-authored-by: isaacs <i@izs.me>
  • Loading branch information
lukekarrys and isaacs committed Oct 31, 2023
1 parent cee7ffb commit 2127b3e
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,26 @@
"name": "read",
"version": "2.1.0",
"exports": {
"./package.json": "./package.json"
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/esm/read.d.ts",
"default": "./dist/esm/read.js"
},
"require": {
"types": "./dist/commonjs/read.d.ts",
"default": "./dist/commonjs/read.js"
}
}
},
"type": "module",
"files": [
"src"
],
"tshy": {
"exports": {
"./package.json": "./package.json"
"./package.json": "./package.json",
".": "./src/read.ts"
}
},
"dependencies": {
Expand Down Expand Up @@ -61,5 +72,7 @@
},
"eslintIgnore": [
"dist/"
]
],
"main": "./dist/commonjs/read.js",
"types": "./dist/commonjs/read.d.ts"
}

0 comments on commit 2127b3e

Please sign in to comment.