-
Notifications
You must be signed in to change notification settings - Fork 37.3k
build: switch build/tsconfig.json to module: nodenext
#238426
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
Conversation
build/tsconfig.json to module: nodenext
|
This is great, thanks @tmm1! |
|
Looking forward to the leak fix in a future TypeScript version: microsoft/TypeScript#58137 We'll also reach out to the TypeScript team and nudge them. |
bpasero
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* build/tsconfig: switch to module: nodenext for bun compat * build: rewrite imports for nodenext compat * build: re-generate
|
amazing |
Are you specifically talking about a bun-related leak fix? I'm not sure that's specifically a bug in TS, given it does not affect other runtimes, and the proposed fix on that issue is not one that I personally think is one we should accept. |
This makes the ./build generated js code compatible with
bunUsing
buninstead ofnoderesults in faster compiles:cc @jrieken @deepak1556