Skip to content

Commit

Permalink
fix: fix exports types in package.json (#2)
Browse files Browse the repository at this point in the history
Co-authored-by: Shadi Abu Hilal <[email protected]>
  • Loading branch information
shadiabuhilal and Shadi Abu Hilal authored Jan 24, 2024
1 parent cc3492a commit 1fa10f5
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 @@ -6,8 +6,11 @@
"types": "types/index.d.ts",
"type": "module",
"exports": {
"import": "./index.js",
"require": "./index.cjs"
".": {
"import": "./index.js",
"require": "./index.cjs",
"types": "./types/index.d.ts"
}
},
"scripts": {
"lint": "eslint .",
Expand Down

0 comments on commit 1fa10f5

Please sign in to comment.