Skip to content

Commit

Permalink
Merge pull request #44 from aaronadamsCA/main
Browse files Browse the repository at this point in the history
Update package.json exports
  • Loading branch information
perry-mitchell authored Aug 25, 2024
2 parents 8d345d5 + 8a416e0 commit e0f9465
Showing 1 changed file with 10 additions and 35 deletions.
45 changes: 10 additions & 35 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,45 +5,20 @@
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/node/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/node/index.cjs"
"types": {
"require": "./dist/index.d.cts",
"default": "./dist/index.d.ts"
},
"node": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/node/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/node/index.cjs"
}
},
"browser": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/browser/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/browser/index.cjs"
}
"require": "./dist/node/index.cjs",
"default": "./dist/node/index.js"
},
"worker": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/browser/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/browser/index.cjs"
}
"default": {
"require": "./dist/browser/index.cjs",
"default": "./dist/browser/index.js"
}
}
},
"./package.json": "./package.json"
},
"main": "dist/node/index.cjs",
"module": "./dist/node/index.js",
Expand Down

0 comments on commit e0f9465

Please sign in to comment.