From 23ec28381f1246ac18c15269496d3bb3a6749457 Mon Sep 17 00:00:00 2001 From: Simon Green Date: Sun, 17 Dec 2023 14:47:34 -0700 Subject: [PATCH] add exports condition https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 5e1217c..deba27d 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,8 @@ "exports": { ".": { "types": "./dist/index.d.ts", - "import": "./dist/index.js" + "import": "./dist/index.js", + "svelte": "./dist/index.js" } }, "module": "dist/index.js",