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
\n
in template strings will be converted to a newline, but the source map is incorrect.The generated source map is also broken with Sentry. For more details, please refer to this issue: web-infra-dev/rspack#7914.
I have created a repository to reproduce the bug.
Input code
Config
Playground link (or link to the minimal reproduction)
https://play.swc.rs/?version=1.7.26&code=H4sIAAAAAAAAA0srzUsuyczPU0jLz9coLkjM01FILSrKL9JUqOZSAAKQkF5xaklwSWJJabEGRBAEclOLixPTU60UElSqwTr0oCK1CjCB5PyUVAV7hYSYPN%2F8vPT8%2FOJUBVeQhIIzUMIKRVltgoKVgrp6bYIO2IJaTWuuWi6Qk4AMAIxLORKjAAAA&config=H4sIAAAAAAAAA32VTY7bMAyF9zlF4PUspgXaRQ9QdNMzCIpFOZqRRUOkkhiD3L30XzqTUNnF%2FPhE6YliPnb7ffNGbfNr%2FyE%2F5WOwmSDfviVCY2J7kUjD4wDU5jBw87JRpglxLjBHri%2B7ZR22uQOeVEDfX7%2F9WBUNXBhysvEPxAEyrdoVRkQCCXkbaYv1IQU%2Fft5Qi%2F2QgehTTKJSr%2FSQmL7qV5bx%2FLXWHD8gRrDpCTGWTEgM3bLX%2B4VbjNEOBOZks7LKtFObA6FWYoKFwZkh46Dy5AIHFLMU6sA606IDBYUMLYcTaDKpJbJEcrwKdXAoXTf3wB2Gk43FsiKEy3wjstlHdsRAbHzRPFhYxYAF6s4GbzJwyUq9NwyponoHkNNHS5Rsr9kzJ3hppSrbhPedMNOQvHQrj49i6WztiAk68dOE4BVTJ1sgc9A2msGVFiZX2zrVTaDgwID30iMaPQduj1rJ6fWjV4DcrPWgeLIAc3t9FT49hCf4t5yRl86qZPSWj3VKY3%2FA%2BKRAD3xE9yRBLoKxjrNMh8tQ5yU5kL4Ap6YUmsHj45feZzRxHqIPnSEvQ1Y0XcSDOh5CisIl%2FrrGrreJ3dvUxdt1LVN7tyY0Pboyw%2FXvYLr0ZYj%2FbP4nbSN5K9oE%2BrsJ5UjvCc%2Bp2V3%2FAVGwuJNeBgAA
SWC Info output
No response
Expected behavior
Source Map should be right.
Actual behavior
No response
Version
1.7.26
Additional context
No response
The text was updated successfully, but these errors were encountered: