From 0663076afbaed92eb9de3378d9642074944657b1 Mon Sep 17 00:00:00 2001 From: Sandy Tao Date: Thu, 15 Jan 2026 13:11:46 +0800 Subject: [PATCH] fix(core): set rootDir in tsconfig to prevent build conflicts This fixes the TS5055 error during the Publish Release workflow caused by the TypeScript compiler trying to overwrite input files in the dist/ directory. By explicitly setting rootDir to the package root, we ensure inputs and outputs are strictly separated. --- packages/core/tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/tsconfig.json b/packages/core/tsconfig.json index 06e3256b97..4ebe58dc0e 100644 --- a/packages/core/tsconfig.json +++ b/packages/core/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "../../tsconfig.json", "compilerOptions": { + "rootDir": ".", "outDir": "dist", "lib": ["DOM", "DOM.Iterable", "ES2023"], "composite": true,