Skip to content

Conversation

Hotell
Copy link
Contributor

@Hotell Hotell commented Sep 18, 2025

Previous Behavior

sourceMappingURL was not emmited in transpiled assets

  • we shipped transpiled files without proper source mapping since - Wed, 31 May 2023 (after the move from @swc/cli to programatic api usage of @swc/core)

New Behavior

  • Updated the Babel transpilation logic in babel.ts to append a sourceMappingURL comment to output files, ensuring source maps are properly referenced.
  • Modified the SWC compilation logic in swc.ts to append a sourceMappingURL comment to output files when a source map is generated, mirroring the behavior of the SWC CLI.

Related Issue(s)

  • Fixes #

…xecutor / covering both swc and babel transforms
Copy link

📊 Bundle size report

✅ No changes found

Copy link

Pull request demo site: URL

@Hotell Hotell marked this pull request as ready for review September 19, 2025 11:15
@Hotell Hotell requested a review from a team as a code owner September 19, 2025 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants