Skip to content

Commit

Permalink
build: add types field to exports
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Feb 16, 2023
1 parent 4b57ff9 commit 190a5ec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Expand Up @@ -7,8 +7,9 @@
"sideEffects": false,
"type": "module",
"exports": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
Expand Down

0 comments on commit 190a5ec

Please sign in to comment.