Skip to content

Commit

Permalink
Merge pull request #18 from jude98/fix/type-definitions-export
Browse files Browse the repository at this point in the history
Fix: Update package.json exports to include type definitions
  • Loading branch information
crypt0miester authored Jun 7, 2024
2 parents a10c86f + 76a4224 commit 1ebb869
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
}
},
"scripts": {
"prepublish": "npm run build",
Expand Down

0 comments on commit 1ebb869

Please sign in to comment.