Skip to content

Commit

Permalink
Provide export map for TypeScript types
Browse files Browse the repository at this point in the history
  • Loading branch information
ezzatron committed Oct 29, 2022
1 parent 22f098a commit 7acb7d4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@
"main": "artifacts/dist/index.js",
"types": "artifacts/dist/index.d.ts",
"exports": {
".": "./artifacts/dist/index.js"
".": {
"types": "./artifacts/dist/index.d.ts",
"import": "./artifacts/dist/index.js",
"default": "./artifacts/dist/index.js"
}
},
"sideEffects": false,
"files": [
Expand Down

0 comments on commit 7acb7d4

Please sign in to comment.