From 6fc7f8f48bdf1b59ef18a26491f5562c20b4b13c Mon Sep 17 00:00:00 2001 From: Newton <5769156+iamnewton@users.noreply.github.com> Date: Thu, 6 Aug 2026 22:34:48 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20correct=20exports=20paths?= =?UTF-8?q?=20to=20match=20actual=20dist=20file=20extensions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The library preset outputs index.mjs and index.d.mts but exports referenced index.js and index.d.ts which don't exist. TypeScript with moduleResolution: "bundler" strictly follows the exports map and fails when the referenced files are missing. Signed-off-by: Newton Signed-off-by: Newton <5769156+iamnewton@users.noreply.github.com> --- packages/env-utils/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/env-utils/package.json b/packages/env-utils/package.json index 8c095b5..0b740da 100644 --- a/packages/env-utils/package.json +++ b/packages/env-utils/package.json @@ -13,8 +13,8 @@ "type": "module", "exports": { ".": { - "import": "./dist/index.js", - "types": "./dist/index.d.ts" + "import": "./dist/index.mjs", + "types": "./dist/index.d.mts" } }, "files": [