Skip to content

Conversation

@bartlomieju
Copy link
Member

@bartlomieju bartlomieju commented Jun 6, 2025

This commit fixes passing conditional exports specified with
--unstable-node-conditions flag to require() calls.

Fixes scenario from #23757 (comment)

@nayeemrmn nayeemrmn requested a review from dsherret June 7, 2025 16:14
Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bartlomieju bartlomieju changed the title fix(ext/node): pass conditional exports to ops fix(ext/node): make conditional exports work in require() Jun 10, 2025
@bartlomieju bartlomieju merged commit ccc30ed into denoland:main Jun 10, 2025
18 checks passed
@bartlomieju bartlomieju deleted the conditional_exports_fix branch June 10, 2025 00:09
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