From fbbe72c48e7f99054ae891d6e692321b192aca6d Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Thu, 14 Dec 2023 21:02:12 -0800 Subject: [PATCH] chore: add exports to `package.json` --- package.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package.json b/package.json index c7fa85b..ba48b85 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,12 @@ "svelte": "./lib/index.js", "main": "./lib/index.js", "types": "./lib/index.d.ts", + "exports": { + ".": { + "svelte": "./lib/index.js" + }, + "./lib/*": "./lib/*" + }, "scripts": { "prepack": "bun test" },