From 9df3d11d6194cd125cca7b933a556242770358d5 Mon Sep 17 00:00:00 2001 From: Ali <4459630+alisamar@users.noreply.github.com> Date: Wed, 5 Mar 2025 19:05:02 +0300 Subject: [PATCH] feat(exports): Add comprehensive module export configuration for improved package compatibility --- package.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/package.json b/package.json index ffbeb56..bd2207a 100644 --- a/package.json +++ b/package.json @@ -88,5 +88,14 @@ "commitizen": { "path": "./node_modules/cz-conventional-changelog" } + }, + "exports": { + ".": { + "types": "./lib/index.d.ts", + "svelte": "./build/index.mjs", + "import": "./build/index.mjs", + "require": "./build/index.js", + "default": "./build/index.mjs" + } } }