You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Describe the bug
swc_ecma_minifier produces bad code when optimizing lottie-web with default config.
i've tested with the example "compress" and found that seems a69f172 introduced the issue.
Input code
https://github.com/airbnb/lottie-web/blob/63a39aeb27b8c13726ce9fcf850d9351b14be3e6/build/player/lottie.js#L10380-L10392
Config
Playground link (or link to the minimal reproduction)
https://github.com/swc-project/swc/blob/main/crates/swc_ecma_minifier/examples/compress.rs
SWC Info output
No response
Expected behavior
3b845c3
Actual behavior
a69f172
Version
0.189.84
Additional context
related: web-infra-dev/rspack#5656
The text was updated successfully, but these errors were encountered: