From 8321d715bdc85e74d4951164682a6032e40096fd Mon Sep 17 00:00:00 2001 From: letjek Date: Tue, 26 Dec 2023 07:58:30 +0700 Subject: [PATCH] fix warning vite missing exports condition --- package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package.json b/package.json index 673c067..56944f4 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,11 @@ "main": "dist/svelte-infinite-loading.js", "module": "dist/svelte-infinite-loading.mjs", "types": "types/index.d.ts", + "exports": { + ".": { + "svelte": "./src/index.js" + } + }, "scripts": { "build": "rollup -c", "lint": "eslint src/** test/**",