Skip to content

Commit

Permalink
feat: add exports map;
Browse files Browse the repository at this point in the history
- Closes #1
  • Loading branch information
lukeed authored Sep 7, 2020
1 parent 73d5d37 commit 6b6a231
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
"dist",
"types"
],
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./package.json": "./package.json"
},
"engines": {
"node": ">= 10"
},
Expand Down

0 comments on commit 6b6a231

Please sign in to comment.