Skip to content

Commit

Permalink
package.json: use exports instead of module, add types
Browse files Browse the repository at this point in the history
  • Loading branch information
jorrit committed Jan 20, 2023
1 parent 2050658 commit 3345769
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@
],
"license": "MIT",
"main": "index.js",
"module": "index.mjs",
"exports": "./index.mjs",
"types": "./index.d.ts",
"peerDependencies": {
"prop-types": "*",
"react": "^16.0.1 || ^17.0.0 || ^18.0.0"
Expand Down

0 comments on commit 3345769

Please sign in to comment.