Skip to content

feat(tsconfig): Add a tsconfig targeting nodenext#4075

Merged
JasonVMo merged 2 commits intomainfrom
user/jasonvmo/tsconfig-next
Apr 8, 2026
Merged

feat(tsconfig): Add a tsconfig targeting nodenext#4075
JasonVMo merged 2 commits intomainfrom
user/jasonvmo/tsconfig-next

Conversation

@JasonVMo
Copy link
Copy Markdown
Collaborator

@JasonVMo JasonVMo commented Apr 7, 2026

Description

This adds an alternative to tsconfig.node.json that targets module: "nodenext" and moduleResolution: "nodenext".

This gets rid of the typescript errors when importing esm modules into cjs packages. This is supported on modern versions of node and in bundlers.

@JasonVMo JasonVMo enabled auto-merge (squash) April 7, 2026 18:09
@JasonVMo JasonVMo merged commit 0a5dea1 into main Apr 8, 2026
24 of 26 checks passed
@JasonVMo JasonVMo deleted the user/jasonvmo/tsconfig-next branch April 8, 2026 13: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.

3 participants