diff --git a/package.json b/package.json index 673c067..e852f4e 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,13 @@ "dist", "types" ], + "exports": { + ".": { + "types": "./types/index.d.ts", + "svelte": "./src/index.js", + "default": "./dist/svelte-infinite-loading.js" + } + }, "keywords": [ "svelte", "infinite",