From ade853a9053a2737aeeced7d43045a8d65a73dc2 Mon Sep 17 00:00:00 2001 From: GingerAdonis <2751672+GingerAdonis@users.noreply.github.com> Date: Mon, 18 Dec 2023 09:19:42 +0100 Subject: [PATCH] Fix SvelteKit v2 compatibility Fix deprecation warning. Details: https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition --- package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package.json b/package.json index e731ae9..4444f92 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,11 @@ "version": "0.2.0", "type": "module", "svelte": "src/index.js", + "exports": { + ".": { + "svelte": "src/index.js" + } + }, "main": "index.js", "module": "index.es.js", "jsnext:main": "index.es.js",