Skip to content

optimize-js: Make it so that interconnected optimizations are either all applied or all ignored #368

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

Merged
merged 1 commit into from
Jul 2, 2025

Conversation

jfmengels
Copy link
Owner

This fixes an issue where with alternate compilers like Lamdera, only some definitions of the mutatingJS functions got replaced but not others, changing the behavior of the code. Now these are grouped together and they only get applied if all of them get applied.

…all applied or all ignored

This fixes an issue where with alternate compilers like Lamdera, only
some definitions of the mutatingJS functions got replaced but not
others, changing the behavior of the code. Now these are grouped
together and they only get applied if all of them get applied.
@jfmengels jfmengels force-pushed the fix-breaking-optimizations branch from db68db6 to 98eaadf Compare July 2, 2025 15:34
@jfmengels jfmengels merged commit 98eaadf into main Jul 2, 2025
3 checks passed
@jfmengels jfmengels deleted the fix-breaking-optimizations branch July 2, 2025 15:37
@jfmengels
Copy link
Owner Author

Released in 2.13.3.

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.

1 participant