Switch tsconfig module resolution to bundler by jeffwidman · Pull Request #682 · dependabot/fetch-metadata (original) (raw)
marked this pull request as ready for review
Changes module from "commonjs" to "es2022" and moduleResolution from "node" to "bundler". This tells TypeScript to resolve imports the way esbuild does, including support for package.json "exports" maps used by newer @actions/* and @octokit/* packages.
Since esbuild handles the actual CJS output (--format=cjs), these settings only affect type-checking — the runtime behavior is unchanged.
truggeri deleted the tsconfig-module-resolution-bundler branch
This was referenced
May 15, 2026
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 }})