From 644034a3449b3a3a9256accd1130e34af4e78337 Mon Sep 17 00:00:00 2001 From: hannesrudolph Date: Tue, 1 Jul 2025 15:38:28 -0600 Subject: [PATCH] fix: update package.json exports to use built files instead of source This resolves the TypeScript compilation error where imports were resolving to source files outside the configured rootDir --- packages/types/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/types/package.json b/packages/types/package.json index 341b98fe0d..50cf050283 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -5,8 +5,8 @@ "main": "./dist/index.cjs", "exports": { ".": { - "types": "./src/index.ts", - "import": "./src/index.ts", + "types": "./dist/index.d.ts", + "import": "./dist/index.js", "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs"