Commit 28377f4
fix: remove rootDir from non-build tsconfigs
ts-loader 9.5.7 stopped overriding rootDir to undefined in
transpileModule() calls, so the tsconfig's rootDir now flows
through. In npm workspace setups where node_modules is hoisted
above the package directory, this causes TS6059 errors because
hoisted files fall outside rootDir.
Since rootDir only controls output directory structure during
emit, it belongs in the build tsconfigs (which already inherit
it correctly), not in the base tsconfigs used by ts-loader.
Also regenerated package-lock files to pick up ts-loader 9.5.7.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent d511970 commit 28377f4
5 files changed
Lines changed: 1173 additions & 1027 deletions
0 commit comments