Skip to content

Commit

Permalink
chore: add ESM package exports
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku committed Jan 17, 2024
1 parent acfa71a commit 43d671f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
Expand Down

0 comments on commit 43d671f

Please sign in to comment.