Skip to content

Commit 3345769

Browse files
committed
package.json: use exports instead of module, add types
1 parent 2050658 commit 3345769

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@
6060
],
6161
"license": "MIT",
6262
"main": "index.js",
63-
"module": "index.mjs",
63+
"exports": "./index.mjs",
64+
"types": "./index.d.ts",
6465
"peerDependencies": {
6566
"prop-types": "*",
6667
"react": "^16.0.1 || ^17.0.0 || ^18.0.0"

0 commit comments

Comments
 (0)