Skip to content

Commit 4cb1430

Browse files
committed
fix importing the lib
1 parent 814ff11 commit 4cb1430

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@
2626
],
2727
"exports": {
2828
"./vue": {
29-
"import": "./dist/vue/index.js",
30-
"require": "./dist/vue/index.cjs.js",
31-
"types": "./dist/vue/types/index.d.ts",
32-
"default": "./dist/vue/index.umd.js"
29+
"types": "./src/vue/types/index.d.ts",
30+
"import": "./src/vue/index.js",
31+
"require": "./src/vue/index.cjs.js",
32+
"default": "./src/vue/index.umd.js"
3333
},
3434
"./react": {
35-
"import": "./dist/react/index.js",
36-
"require": "./dist/react/index.cjs.js",
37-
"types": "./dist/react/types/index.d.ts",
38-
"default": "./dist/react/index.umd.js"
35+
"types": "./src/react/types/index.d.ts",
36+
"import": "./src/react/index.js",
37+
"require": "./src/react/index.cjs.js",
38+
"default": "./src/react/index.umd.js"
3939
}
4040
},
4141
"files": [
@@ -46,10 +46,10 @@
4646
"typesVersions": {
4747
"*": {
4848
"vue": [
49-
"./dist/vue/index.d.ts"
49+
"./src/vue/index.d.ts"
5050
],
5151
"react": [
52-
"./dist/react/index.d.ts"
52+
"./src/react/index.d.ts"
5353
]
5454
}
5555
},

0 commit comments

Comments
 (0)