mirror of
https://github.com/swc-project/swc.git
synced 2024-11-29 11:47:21 +03:00
cf74382ba0
**Description:** 1. split quasi by '\n' 2. add the mapping between the original string and the generated string one by one. <img width="873" alt="image" src="https://github.com/user-attachments/assets/8a03da7f-2d22-4dd5-9bac-220418b10911"> **Related issue:** - Closes https://github.com/swc-project/swc/issues/9567
118 B
118 B
swc_ecma_codegen | swc_core |
---|---|
patch | patch |
fix(es/codegen): fix wrong sourcemap when there are new lines in tpl