Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
cschroeter committed Nov 27, 2024
1 parent 2eaaaca commit 21bcdfc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions packages/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@
"files": ["dist", "!dist/**/*.test.*", "!dist/**/*.spec.*"],
"exports": {
".": {
"source": "./src/lib/index.ts",
"types": "./dist/index.d.ts",
"svelte": "./dist/index.js"
"svelte": "./src/lib/index.ts"
},
"./*": {
"source": "./src/lib/components/*/index.ts",
"types": "./dist/components/*/index.d.ts",
"svelte": "./dist/components/*/index.js"
"svelte": "./src/lib/components/*/index.ts"
}
},
"scripts": {
Expand All @@ -41,7 +39,10 @@
"postpack": "clean-package restore"
},
"clean-package": {
"remove": ["exports.\\..source", "exports.\\./*.source"]
"replace": {
"exports.\\..svelte": "./dist/index.js",
"exports.\\./*.svelte": "./dist/components/*/index.js"
}
},
"publishConfig": {
"access": "public"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script module lang="ts">
import { Avatar } from '$lib/components/avatar'
import { Avatar } from '@ark-ui/svelte/avatar'
</script>

<Avatar.Root>
Expand Down
Binary file removed packages/svelte/static/favicon.png
Binary file not shown.

0 comments on commit 21bcdfc

Please sign in to comment.