Skip to content

fix(es/minifier): Fix top level detection of DCE #10603

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 2 commits into from
Jun 12, 2025
Merged

fix(es/minifier): Fix top level detection of DCE #10603

merged 2 commits into from
Jun 12, 2025

Conversation

kdy1
Copy link
Member

@kdy1 kdy1 commented Jun 12, 2025

Description:

Related issue (if exists):

@kdy1 kdy1 added this to the Planned milestone Jun 12, 2025
@kdy1 kdy1 self-assigned this Jun 12, 2025
@kdy1 kdy1 requested a review from a team as a code owner June 12, 2025 18:12
kodiakhq[bot]
kodiakhq bot previously approved these changes Jun 12, 2025
Copy link

changeset-bot bot commented Jun 12, 2025

🦋 Changeset detected

Latest commit: da5ba27

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@kdy1 kdy1 requested a review from a team as a code owner June 12, 2025 18:14
@kdy1 kdy1 enabled auto-merge (squash) June 12, 2025 18:14
@kdy1 kdy1 disabled auto-merge June 12, 2025 20:31
@kdy1 kdy1 merged commit 964a560 into main Jun 12, 2025
175 of 197 checks passed
@kdy1 kdy1 deleted the kdy1/dce-dumb branch June 12, 2025 20:31
@kdy1 kdy1 modified the milestones: Planned, v1.12.1 Jun 12, 2025
kdy1 added a commit to CPunisher/swc_macro_sys that referenced this pull request Jun 12, 2025
kdy1 added a commit to vercel/next.js that referenced this pull request Jun 12, 2025
### What?

ChangeLog: swc-project/swc@[email protected][email protected]

This PR is expected to regress the build performance a bit but with much better minification rate for some edge cases.

### Why?

To apply 

 - swc-project/swc#10603
 - swc-project/swc#10604
 - swc-project/swc#10602
CPunisher pushed a commit to CPunisher/swc_macro_sys that referenced this pull request Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant