-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
SWC compression breaks when custom template literals are used. #8974
Comments
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
Please check the playground here: Link
Input code
No response
Config
No response
Playground link (or link to the minimal reproduction)
https://play.swc.rs/?version=1.5.8&code=H4sIAAAAAAAAA0vOzysuUcjPS1WwVajmUgCC7My8FCsFJZf85NLc1LwSJR2waEpqWmZeZkkmULmVQnQsRDAnP9lKobqWq9aaKxlsTkl5PinmAK3VQxLQARkEMymjKBXkpsQElWqgstoEay4AmZDvJqsAAAA%3D&config=H4sIAAAAAAAAA41VwW7bMAy97ysCn3dodyi2fcCwy75BUCzKUSaLhkilCYr8%2B2jFTt2GNnaz%2BfhIkXqk3r7sds2R2ubn7k0%2B5WewmSDf%2F8VCl8T2LJYG2t5Sm8PAzdcZPdIIeRsJqul6Qxq2uQOuLPr29PxjYjQRkWBmTLY%2BpOAvy5wt9kMGooVNrBKy9JCYPvInLOPrCHAuS%2FseMYJNG4ixZEJi6CBrgVuM0Q4E5mSzEmU8qc2BUEsxgoXBmSHjoOLJBQ6YJOcj6sA606IDBQoZWg4n0GiSS2iJpDylngo72Jeuq%2Ff8iQ0nG4tlJSec65XIaZWoBwzExpektfAGrvTgBk7N%2FcwM3mTgktMj74ghrdzJXwDpQLREyfagxa0eXvS0xvabzJC8SJYvCi761qpM0ElTTQhe6ezYGcgctNvM4EoLY2db7TgTvNI%2BCg4MeC9aUULTa%2BD2oCXlywDoFUDu13pNVTfA3KdwBR8HYgP%2BJVWyLrDJo7d8WEfp0u8xbiTogQ%2FoNhzkKhjX4Sxb4jys4yU5EGmAU10KVeBxCcgAMJpY9%2BWDNmQ8JKLpIu7f18TkcL3v4d6mrs77Yl8yDhFOENdk%2FB8jsonK2U6jqufJfphe%2BK6J0srgheenD8%2BGlPLh%2BYAzQ5a1%2BBviAHlRdXVoenRlUW0V7O2teWneneZnZW5pE%2BjPTKzhrv8AVLwoDwAHAAA%3D
SWC Info output
No response
Expected behavior
To not remove
one
variable and retain it's keysActual behavior
No response
Version
1.5.8
Additional context
No response
The text was updated successfully, but these errors were encountered: