Commit bb56eeb
Switch tsconfig module resolution to bundler (#682)
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.
Co-authored-by: Thomas Ruggeri <truggeri@github.com>1 parent 3632e3d commit bb56eeb
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments