diff --git a/package.json b/package.json index a94e009..99cb01b 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,13 @@ "types": "./lib/index.d.ts", "exports": { ".": { + "types": "./lib/index.d.ts", "svelte": "./lib/index.js" }, - "./lib/*": "./lib/*" + "./lib/*.svelte": { + "types": "./lib/*.svelte.d.ts", + "import": "./lib/*.svelte" + } }, "scripts": { "prepack": "bun test"