Skip to content

Commit

Permalink
fix: modify export in package.json (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
wd-David authored Mar 28, 2023
1 parent b3974a4 commit 29cfc91
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@
"./HoverDrawSVG.svelte": {
"types": "./dist/HoverDrawSVG.svelte.d.ts",
"svelte": "./dist/HoverDrawSVG.svelte"
},
".": {
"types": "./dist/index.d.ts",
"svelte": "./dist/index.js"
}
},
"files": [
Expand All @@ -63,7 +67,10 @@
">4.0": {
"HoverDrawSVG.svelte": [
"./dist/HoverDrawSVG.svelte.d.ts"
],
"index": [
"./dist/index.d.ts"
]
}
}
}
}
1 change: 1 addition & 0 deletions src/lib/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from './HoverDrawSVG.svelte';

0 comments on commit 29cfc91

Please sign in to comment.