From d256bea002c664a09da043db86c49f06ec4c31cc Mon Sep 17 00:00:00 2001 From: uncomplexity Date: Sun, 15 Dec 2024 20:42:32 +0800 Subject: [PATCH] Update package.json Co-authored-by: Benjamin Raymond <31401273+7PH@users.noreply.github.com> --- package.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 82341a5..952b273 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,16 @@ "main": "./lib/index.cjs", "types": "./build/src/index.d.ts", "exports": { - "import": "./lib/index.esm.js", - "require": "./lib/index.cjs" + ".": { + "import": { + "types": "./build/src/index.d.ts", + "default": "./lib/index.esm.js" + }, + "require": { + "types": "./build/src/index.d.ts", + "default": "./lib/index.cjs" + } + } }, "repository": { "type": "git",