fix: TS5011 errors with TypeScript 6.0: transpileModule called with rootDir: undefined by errorx666 · Pull Request #1679 · TypeStrong/ts-loader (original) (raw)
johnnyreilly changed the title
Issue 1678 fix: TS5011 errors with TypeScript 6.0: transpileModule called with rootDir: undefined
Added a new feature for trusted publishing in version 9.5.5.
styfle pushed a commit to vercel/ncc that referenced this pull request
Summary
Updates ts-loader to 9.5.7 so ncc's bundled TypeScript loader
preserves configured rootDir during transpileModule builds.
This fixes TypeScript 6 TS5011 failures like:
TS5011: The common source directory of 'tsconfig.json' is './actions/javascript/...'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.ts-loader fixed this upstream in
TypeStrong/ts-loader#1679.
Verification
- Ran
yarn build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})