From eea2c95659a73cafc7931c33a4ebe193bc0c01d7 Mon Sep 17 00:00:00 2001 From: Sehoon Shon Date: Wed, 25 Mar 2026 07:50:08 -0400 Subject: [PATCH] fix(build): correct devtools structure and module resolution --- packages/devtools/package.json | 8 ++++---- packages/devtools/tsconfig.build.json | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/devtools/package.json b/packages/devtools/package.json index 69463aa093..b0ce882cea 100644 --- a/packages/devtools/package.json +++ b/packages/devtools/package.json @@ -3,12 +3,12 @@ "version": "0.36.0-nightly.20260317.2f90b4653", "license": "Apache-2.0", "type": "module", - "main": "dist/src/index.js", - "types": "dist/src/index.d.ts", + "main": "dist/index.js", + "types": "dist/index.d.ts", "exports": { ".": { - "types": "./dist/src/index.d.ts", - "default": "./dist/src/index.js" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" } }, "scripts": { diff --git a/packages/devtools/tsconfig.build.json b/packages/devtools/tsconfig.build.json index 3e2a05b96d..35a57aabcf 100644 --- a/packages/devtools/tsconfig.build.json +++ b/packages/devtools/tsconfig.build.json @@ -1,7 +1,8 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "outDir": "dist/src", + "outDir": "dist", + "rootDir": "src", "composite": true, "declaration": true, "sourceMap": true,