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
Starts from version 1.3.98
dollar symbol in substitutional string to literal template is unnecessary escaped.
Input code
Config
Playground link (or link to the minimal reproduction)
https://play.swc.rs/?version=1.3.98&code=H4sIAAAAAAAAA0utKMgvKlFIzs8rLlEoLikKzyzJcMnPyUksUrBVSFDJyU%2FPzEuw5uJKRVZXWpwKlq1G0VCbYK2gr68AVJmaXJKaYqWgBNGupFAOVJNfWqIQE8PFBQAYdvvmcQAAAA%3D%3D&config=H4sIAAAAAAAAA42VwW7bMAyG73mKwudhWDugwPYAOwzYMwiKRDnKLNEQqTRBkXcvrdhNvET2ckrITySjnxTfN0%2FyafZkmp9P7%2BVHMfQ6EaSZrdjpFFkfxd6ACZpM8j03X%2BbMngbA6Y7g03G%2BMk2HSCAEpww35uCjd6f7lEHHtoMp4j%2B5DIY%2BAdHdMfHp1OYAkenx2UIkfKO7UkbvFrEDHVf9SpPykaGFVE9lsOt0T6AOOlUjDv9GJ09YTzogmcGqPmG%2FQEXr2WOUWmqMBW2VQXsvxQT4BIb9AeohpAYJEQlrAk2QhW1u29JRDyPBQXdZc7UWOBaZ5R9V8%2BzQEyuXY12EC7J4cxdkFOlxFO9UAs4p1mLs0cdFnf8CyL11mijqAPVMhXPSx8uR3H9E8dHJfPGpSslU1m8lQiviKO9dVaHhViGxr3dLApsNDAqZerEjtCgAeQsKnJPurCajN89mVy%2BGTz2gq7qli7Sr9%2FTFrT7fj0VqGNlV6JfcCi%2B198gFzbs1hk5hi91qygC8Q7uKibCMa1CS1%2B%2FYr1E5WpA2BLsAZiru2rMmw8moOuB6H8oASw7Vdri9Pn8z7LyZfxu3UxPQ5vKSTbuktEnZdvTazNFpW12LaDz9mQLcWCEe5ruVZaCB71dWY3YJw3D6%2BduPh5vTYILfw8Hm%2B9eX55u9O1Re6sykWxgr3Zw%2FAMcCWo%2FeBwAA
SWC Info output
No response
Expected behavior
export const strWithDollar =
$login
;export const use =
$login
;Actual behavior
export const strWithDollar =
$login
;export const use =
\\$login
;Version
1.3.98
Additional context
Can be related: #8475
The text was updated successfully, but these errors were encountered: