feat(minifier): improve negation of expressions in boolean context (#25755)
add `boolean_context` to `minimize_not` so negation folding can happen in-place when possible, reducing extra AST rebuilds and allocations and `!0` / `!1` can now collapse directly to `1` / `0` in boolean context
A
Armano committed
83cb5163c032138aa5d6829d349d7f2a2a00d0ab
Parent: 9b7e153
Committed by GitHub <noreply@github.com>
on 8/19/2026, 5:21:35 AM