Skip to content

fix(ios): preserve packager source map before compose overwrites it - #48

Open
sbycrosz wants to merge 1 commit into
revopush:mainfrom
sbycrosz:fix/ios-preserve-packager-sourcemap
Open

fix(ios): preserve packager source map before compose overwrites it#48
sbycrosz wants to merge 1 commit into
revopush:mainfrom
sbycrosz:fix/ios-preserve-packager-sourcemap

Conversation

@sbycrosz

@sbycrosz sbycrosz commented Aug 19, 2026

Copy link
Copy Markdown
  1. On iOS combinedSourceMapOutput is the same path as bundleSourceMapOutput, so compose-source-maps.js overwrites the Metro packager map in place
  2. Android avoids this because it composes to a separate .map.
  3. This change copies the packager map to .packager.map before compose runs, matching Android, so tooling that needs the chunk/debug ID (e.g. Uploading source-maps to Sentry / posthog-cli) can still recover it✌️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant