Skip to content

fix: use correct id in set_source_contents - #7

Merged
Donny/강동윤 (kdy1) merged 2 commits into
swc-project:mainfrom
mischnic:mischnic/source-content-mixup
Aug 14, 2025
Merged

fix: use correct id in set_source_contents#7
Donny/강동윤 (kdy1) merged 2 commits into
swc-project:mainfrom
mischnic:mischnic/source-content-mixup

Conversation

@mischnic

@mischnic Niklas Mischkulnig (mischnic) commented Aug 14, 2025

Copy link
Copy Markdown

Caused invalid source content:
image

@kdy1
Donny/강동윤 (kdy1) enabled auto-merge (squash) August 14, 2025 10:40
@kdy1
Donny/강동윤 (kdy1) merged commit c168b3d into swc-project:main Aug 14, 2025
7 checks passed
Tobias Koppers (sokra) pushed a commit to vercel/next.js that referenced this pull request Aug 14, 2025
The source content was somethings incorrect with scope hoisting on Turbopack:

<img width="2018" height="721" alt="image" src="https://github.com/user-attachments/assets/e2e1bf1c-2a84-4acb-8388-a809670b4902" />

Fix is in swc-project/swc-sourcemap#7
@mischnic
Niklas Mischkulnig (mischnic) deleted the mischnic/source-content-mixup branch August 14, 2025 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants