Skip to content

Commit

Permalink
:sparklesAdd explicit types path to exports key in package.json (#560)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnoordsij committed Sep 29, 2023
1 parent 3ed2b00 commit ba23709
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": "dist/index.d.ts",
"source": "src/index.ts",
"exports": {
"import": "./dist/index.modern.mjs",
"require": "./dist/index.js"
".": {
"import": "./dist/index.modern.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"umd:main": "dist/index.umd.js",
"files": [
Expand Down

0 comments on commit ba23709

Please sign in to comment.