Skip to content

Conversation

thymikee
Copy link
Member

Description

On latest few versions of React Native (checked on 0.75 and above), the source-map-explorer dependency is crashing by incorrect mappings produced by Metro bundler:
image

which bleeds to react-native-bundle-visualizer:
image

To fix that, we can pass --no-border-checks flag to source-map-explorer, which avoids failure and can still produce the visual information, at least in my test project. As a non-breaking solution I'm adding the same flag to the react-native-bundle-visualizer

Test Plan

image

@thymikee thymikee force-pushed the feat/no-border-checks branch from d95b02e to 3fc2f0d Compare January 27, 2025 17:49
@thymikee thymikee requested a review from hurali97 January 30, 2025 13:46
Copy link
Member

@hurali97 hurali97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hurali97 hurali97 merged commit 7aa289f into callstack:main Jan 31, 2025
3 checks passed
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.

2 participants