Skip to content

Commit 54abed5

Browse files
Update import/require paths and change ext
1 parent a0b3f39 commit 54abed5

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,37 +15,37 @@
1515
"node": ">=20",
1616
"npm": ">=10"
1717
},
18-
"main": "./dist/cjs/index.js",
19-
"module": "./dist/esm/index.js",
20-
"typings": "./dist/esm/index.d.ts",
18+
"main": "./dist/cjs/react/index.js",
19+
"module": "./dist/esm/react/index.js",
20+
"typings": "./dist/esm/react/index.d.ts",
2121
"exports": {
2222
".": {
2323
"import": {
24-
"types": "./dist/esm/index.d.js",
25-
"default": "./dist/esm/index.js"
24+
"types": "./dist/esm/react/index.d.ts",
25+
"default": "./dist/esm/react/index.js"
2626
},
2727
"require": {
28-
"types": "./dist/cjs/index.d.js",
29-
"default": "./dist/cjs/index.js"
28+
"types": "./dist/cjs/react/index.d.ts",
29+
"default": "./dist/cjs/react/index.js"
3030
}
3131
},
3232
"./vanilla": {
3333
"import": {
34-
"types": "./dist/esm/vanilla/index.d.js",
34+
"types": "./dist/esm/vanilla/index.d.ts",
3535
"default": "./dist/esm/vanilla/index.js"
3636
},
3737
"require": {
38-
"types": "./dist/cjs/vanilla/index.d.js",
38+
"types": "./dist/cjs/vanilla/index.d.ts",
3939
"default": "./dist/cjs/vanilla/index.js"
4040
}
4141
},
4242
"./react": {
4343
"import": {
44-
"types": "./dist/esm/react/index.d.js",
44+
"types": "./dist/esm/react/index.d.ts",
4545
"default": "./dist/esm/react/index.js"
4646
},
4747
"require": {
48-
"types": "./dist/cjs/react/index.d.js",
48+
"types": "./dist/cjs/react/index.d.ts",
4949
"default": "./dist/cjs/react/index.js"
5050
}
5151
}

0 commit comments

Comments
 (0)