From 9550258ebb80ed2b2cfb9802eeba071c88ee518f Mon Sep 17 00:00:00 2001 From: metonym Date: Sat, 16 Dec 2023 08:53:03 -0800 Subject: [PATCH] chore: add exports to `package.json` (#179) --- package.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package.json b/package.json index 1ae0ed1..2f155df 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" },