-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Minifier drops console.log
incorrectly in some cases
#8173
Comments
Investigation
|
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
I found this while working on #8172
Input code
Config
Playground link (or link to the minimal reproduction)
https://play.swc.rs/?version=1.3.94-nightly-20231016.1&code=H4sIAAAAAAAAA0vOzysuUSjOz011y1OwVdCoqNBRAKJKTQVbO4VoECvWmosrGawqPbXEsagosRKkDiJvqKNgpKNgjKQkPz%2FFrTQvuSQzH2RcYnFlXjJUcTWXAhBAlBUlgSTLEzMRhmpoWiMrSMarID8nVS8nP10D4m4NoDOKkoA4WROophbmlqREwk7BNAjdUkwRTU2QHcg%2BBTkNyTYgFwDKZ1XWVwEAAA%3D%3D&config=H4sIAAAAAAAAA31RvQ6CQAzefQpys4M6ODg7uPgQzVHIkftLWxII4d2FCwiIelu%2Ftt9Prztkw1MVa3XLulQkIAIx0gZLOLdeoBlwJW1E1mSiqON2JkcdCCQQD3NCNX70hUeCAizju9EvM0oIPBeB3F7eYgm6vc8CE%2F93FqASZXSKfDmdryuXyhlvinZPr4OLhPzDtwNfWvynaUNgnLOtcGwEyYN9oI2YzrKkn%2FYXT4uyciGvk%2BLqZ8a7j6kGry74itWGxfBz3kku%2BxdGw%2FMD4QEAAA%3D%3D
SWC Info output
No response
Expected behavior
It should not remove calls with side effect
Actual behavior
No response
Version
1.3.94-nightly-20231016.1
Additional context
No response
The text was updated successfully, but these errors were encountered: