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

Propagate JSX settings to dependencies #7094

Merged
merged 4 commits into from
Oct 10, 2024
Merged

Conversation

mununki
Copy link
Member

@mununki mununki commented Oct 10, 2024

Fixes #7084

This PR restores previously working JSX settings propagation to dependencies. Now, only propagates JSX 'version' to dependent libraries, preserving their original 'mode' and 'module' settings. This change maintains backwards compatibility while allowing more flexibility in dependency configurations. Added tests to verify correct propagation behavior and dependency setting preservation.

@mununki mununki requested a review from cknitt October 10, 2024 07:25
@cknitt
Copy link
Member

cknitt commented Oct 10, 2024

Thanks a lot! Looks good to me, and I tested it successfully against one of our projects. 👍

I'll hold off merging until we have decided whether to merge #6901 first.

@cknitt
Copy link
Member

cknitt commented Oct 10, 2024

@mununki We merged #6901 first. Could you rebase please?

@mununki mununki force-pushed the fix-jsx-settings-inheritance branch from edadeeb to ac8dadf Compare October 10, 2024 09:42
@mununki
Copy link
Member Author

mununki commented Oct 10, 2024

@mununki We merged #6901 first. Could you rebase please?

Rebased.

@cknitt cknitt merged commit 57121b2 into master Oct 10, 2024
20 checks passed
@mununki mununki deleted the fix-jsx-settings-inheritance branch October 10, 2024 10:41
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.

Regression after JSX3 removal
2 participants