Skip to content

Switch tsconfig to NodeNext module resolution#855

Merged
simonklee merged 1 commit intomainfrom
node-module-res
Mar 24, 2026
Merged

Switch tsconfig to NodeNext module resolution#855
simonklee merged 1 commit intomainfrom
node-module-res

Conversation

@simonklee
Copy link
Copy Markdown
Member

@simonklee simonklee commented Mar 22, 2026

Prevent regressions where extensionless imports break consumers using NodeNext
or Node's ESM loader.

tsconfigs override back to "bundler" because bun-ffi-structs and bun-webgpu
don't export NodeNext-compatible types yet.

Change this once @kommander fixes upstream. I think we can merge this pr now and update the last things once you've updated upstream.

Close: #843

@simonklee simonklee requested review from Adictya and msmps as code owners March 22, 2026 11:34
@simonklee simonklee self-assigned this Mar 22, 2026
@inakineitor
Copy link
Copy Markdown

inakineitor commented Mar 23, 2026

In case it's useful this should fix the upstream for bun-ffi-structs (anomalyco/bun-ffi-structs#3) and bun-webgpu (kommander/bun-webgpu#5). Happy to make changes or work more on those or these pull request if helpful!

Prevent regressions where extensionless imports break consumers using NodeNext
or Node's ESM loader.

tsconfigs override back to "bundler" because bun-ffi-structs and bun-webgpu
don't export NodeNext-compatible types yet.

Change this once @kommander fixes upstream

Close: #843
@simonklee simonklee merged commit 6d5d25a into main Mar 24, 2026
25 checks passed
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