Skip to content

Commit

Permalink
Add the missing exports condition to support vite-plugin-svelte v3 (#178
Browse files Browse the repository at this point in the history
)
  • Loading branch information
harshmandan authored Jan 16, 2024
1 parent a650e7b commit 85fdeaf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
"module": "src/main.es.js",
"svelte": "src/Portal.svelte",
"types": "src/Portal.svelte.d.ts",
"exports": {
".": {
"types": "./src/Portal.svelte.d.ts",
"svelte": "src/main.es.js"
}
},
"scripts": {
"test": "jest test",
"test:watch": "npm run test -- --watch",
Expand Down

0 comments on commit 85fdeaf

Please sign in to comment.