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.
This commit is contained in:
Sandy Tao
2026-01-15 13:11:46 +08:00
parent 409f9c825b
commit 0663076afb
+1
View File
@@ -1,6 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"rootDir": ".",
"outDir": "dist",
"lib": ["DOM", "DOM.Iterable", "ES2023"],
"composite": true,