Skip to content

Commit

Permalink
🐛 Fix type declaration exports
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-m-santos committed Jul 12, 2024
1 parent 2b5232a commit 0781e5a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/vue2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
"dist/"
],
"exports": {
".": "./dist/index.js",
".": {
"types": "./dist/@types/index.d.ts",
"default": "./dist/index.js"
},
"./plugin": "./dist/plugin.js",
"./styles": "./dist/styles/main.css",
"./font": "./dist/styles/font.css",
Expand Down
5 changes: 4 additions & 1 deletion packages/vue3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
"dist/"
],
"exports": {
".": "./dist/index.js",
".": {
"types": "./dist/@types/index.d.ts",
"default": "./dist/index.js"
},
"./plugin": "./dist/plugin.js",
"./styles": "./dist/styles/main.css",
"./font": "./dist/styles/font.css",
Expand Down

0 comments on commit 0781e5a

Please sign in to comment.