Skip to content

Commit

Permalink
fix: list "package.json" in "exports"
Browse files Browse the repository at this point in the history
  • Loading branch information
kettanaito committed Apr 14, 2023
1 parent ab49c39 commit f6733fb
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,21 @@
"browser": "./lib/browser/index.js",
"types": "./lib/node/index.d.ts",
"exports": {
"browser": {
"types": "./lib/browser/index.d.ts",
"import": "./lib/browser/index.mjs",
"require": "./lib/browser/index.js",
"default": "./lib/browser/index.js"
".": {
"browser": {
"types": "./lib/browser/index.d.ts",
"import": "./lib/browser/index.mjs",
"require": "./lib/browser/index.js",
"default": "./lib/browser/index.js"
},
"node": {
"types": "./lib/node/index.d.ts",
"import": "./lib/node/index.mjs",
"require": "./lib/node/index.js",
"default": "./lib/node/index.js"
}
},
"node": {
"types": "./lib/node/index.d.ts",
"import": "./lib/node/index.mjs",
"require": "./lib/node/index.js",
"default": "./lib/node/index.js"
}
"./package.json": "./package.json"
},
"scripts": {
"build": "tsup",
Expand Down

0 comments on commit f6733fb

Please sign in to comment.