Skip to content

Commit

Permalink
feat: convert to using exports field
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Than committed Nov 1, 2022
1 parent 6deb920 commit d5fa01c
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,19 @@
},
"license": "MIT",
"packageManager": "yarn@3.2.2",
"main": "lib/index.js",
"module": "esm/index.js",
"types": "esm/index.d.ts",
"exports": {
".": {
"require": "./lib/index.js",
"default": "./esm/index.js"
}
},
"typesVersions": {
"*": {
".": [
"./esm/index.d.ts"
]
}
},
"sideEffects": false,
"files": [
"lib",
Expand Down

0 comments on commit d5fa01c

Please # to comment.