Skip to content

Commit

Permalink
fix(types): correct exports for react, vue and svelte
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Feb 5, 2024
1 parent 734ab0a commit 5b380eb
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
5 changes: 4 additions & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
"description": "Build full featured iOS & Android apps using Framework7 & React",
"type": "module",
"exports": {
".": "./framework7-react.js",
".": {
"import": "./framework7-react.js",
"types": "./framework7-react.d.ts"
},
"./components/*": "./components/*",
"./shared/*": "./shared/*"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"type": "module",
"svelte": "./framework7-svelte.js",
"exports": {
".": "./framework7-svelte.js",
".": {
"import": "./framework7-svelte.js",
"types": "./framework7-svelte.d.ts"
},
"./components/*": "./components/*",
"./shared/*": "./shared/*"
},
Expand Down
10 changes: 8 additions & 2 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@
"description": "Build full featured iOS & Android apps using Framework7 & Vue",
"type": "module",
"exports": {
".": "./framework7-vue.js",
"./bundle": "./framework7-vue-bundle.js",
".": {
"import": "./framework7-vue.js",
"types": "./framework7-vue.d.ts"
},
"./bundle": {
"import": "./framework7-vue-bundle.js",
"types": "./framework7-vue.d.ts"
},
"./components/*": "./components/*",
"./shared/*": "./shared/*"
},
Expand Down

0 comments on commit 5b380eb

Please sign in to comment.