Skip to content

Commit

Permalink
Merge pull request #23 from alexanderl19/package-json-exports-types
Browse files Browse the repository at this point in the history
Define exports.types in package.json
  • Loading branch information
meodai authored Nov 26, 2024
2 parents 64a3198 + 040c225 commit b5ca86f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"jsdelivr": "./dist/index.umd.js",
"exports": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"types": "dist/index.d.ts",
"scripts": {
Expand Down Expand Up @@ -48,4 +49,4 @@
"prettier": "^2.8.1",
"typescript": "^4.9.4"
}
}
}

0 comments on commit b5ca86f

Please sign in to comment.