Skip to content

Commit

Permalink
Add exports field to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
inokawa committed Aug 8, 2023
1 parent 452a2c2 commit 804b25b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
"main": "lib/index.js",
"module": "lib/index.mjs",
"types": "lib/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.mjs",
"default": "./lib/index.js"
}
},
"files": [
"lib"
],
Expand Down

0 comments on commit 804b25b

Please sign in to comment.