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 c23736d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@
"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 c23736d

Please sign in to comment.