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
This is an unexpected behaviour (for me at least) and I can't find any documentation about it.
Exporting a var called
goto
breaks with"env"
set tochrome >= 12
(very old version, I know), but works fine when it isn'tI think there are other modern queries for browserslist that cause this but I can't find the one causing it to break in my config yet
Input code
Config
Playground link (or link to the minimal reproduction)
https://play.swc.rs/?version=1.3.100&code=H4sIAAAAAAAAA0utKMgvKlFIzs8rLlFIzy%2FJV7BV0NBUsLVTqOZSAIKi1JLSojyFvNKcHK5aADno1WEtAAAA&config=H4sIAAAAAAAAA1WOSw7CMAxE9z1F5DUL2LBAghtwiCi4JVV%2BslNEVfXuJGlT2p09M36eqRECelZwE1Ma0xIkMdK2J4VHF%2BU3KYDKSlakQ4RTdXvOVisNY5HmxQHjPWN1Vs1qp9txz1beBkLmYzBHpesMHsnNSgfrX0Mx185xDFj68RX%2BofpsA4PmZ72MNCwaus8OJKnDmNuAepO3KB53cTkXaDP%2FAKOSXIktAQAA
SWC Info output
No response
Expected behavior
No renames in the export, or a rename when importing, or an error being thrown
Actual behavior
Exported variable gets renamed, but when importing it it doesn't
Version
1.3.100
Additional context
No response
The text was updated successfully, but these errors were encountered: