Skip to content

Commit

Permalink
fix: add exports, close #12
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Nov 23, 2021
1 parent 4010798 commit 7d3a4b6
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 @@ -19,6 +19,13 @@
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./*": "./*"
},
"files": [
"dist"
],
Expand Down

0 comments on commit 7d3a4b6

Please sign in to comment.