From e1dc2fe25f9556f92f07a78af2970a3b6802ea75 Mon Sep 17 00:00:00 2001 From: Vjacheslav Trushkin Date: Fri, 22 Dec 2023 23:26:20 +0200 Subject: [PATCH] chore: fix offline exports in svelte component --- components/svelte/offline/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/components/svelte/offline/package.json b/components/svelte/offline/package.json index be386ce..f2efe6a 100644 --- a/components/svelte/offline/package.json +++ b/components/svelte/offline/package.json @@ -1,7 +1,11 @@ { "name": "@iconify/svelte/offline", "svelte": "../dist/OfflineIcon.svelte", - "module": "../dist/offline.mjs", - "main": "../dist/offline.js", - "types": "../dist/offline.d.ts" + "types": "../dist/offline.d.ts", + "exports": { + ".": { + "svelte": "../dist/OfflineIcon.svelte", + "types": "../dist/offline.d.ts" + } + } }