Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: node16 module resolution #21

Merged
merged 1 commit into from
Jul 29, 2024
Merged

Conversation

mshanemc
Copy link
Contributor

@mshanemc mshanemc commented Jul 29, 2024

recent TS versions (ex 5.5+) will throw
tsconfig.json:6:3 - error TS5109: Option 'moduleResolution' must be set to 'Node16' (or left unspecified) when option 'module' is set to 'Node16'.

like https://github.com/forcedotcom/ts-sinon/actions/runs/10129719992/job/28010100376?pr=291#step:7:14

our -esm tsconfigs are already doing that, but our non-esm (mostly libraries) aren't.

@mshanemc mshanemc requested a review from a team as a code owner July 29, 2024 13:19
@mshanemc mshanemc merged commit 00d9fc3 into main Jul 29, 2024
6 checks passed
@mshanemc mshanemc deleted the sm/node-16-module-resolution branch July 29, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants