-
-
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 generate invalid source map when inputSourceMap is provided #9392
Comments
Have the same issue, upgrading swc_core from 0.99.6 to any never version breaks processing of source provided with an existing source map. |
https://raw.githubusercontent.com/noyobo/swc-issues/transform-compare/a.js.map still has a duplicate filename. |
👍 Solved, delete the repo |
Can you update repro? |
Sorry I made a mistake, Transform it again and it was correct. |
@kdy1 works perfectly with swc core 0.101.4, thanks for the super quick fix. |
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
I tested version
1.7.8-nightly-20240807.1
, not report any error. But the generated sourcemap to be unavailableInput code
No response
Config
No response
Playground link (or link to the minimal reproduction)
https://github.com/noyobo/swc-issues/tree/transform-compare
SWC Info output
No response
Expected behavior
When inputSourceMap is provided, the sourcemap after transfrom is parsable
Actual behavior
No response
Version
1.7.8-nightly-20240807.1
Additional context
No response
The text was updated successfully, but these errors were encountered: