Skip to content

Conversation

@anujsachan1990
Copy link

Fix Error: Getting some error while trying to execute the command "npx react-native-bundle-visualizer" #127

Description

Changes

  • Implemented a custom file filter to exclude irrelevant directories from the analysis.

Reason for Change

The current implementation includes files from various system and external directories, making it difficult to analyze our project's specific bundle composition. This change aims to provide a more focused and relevant visualization of our project's bundle.

Expected Outcome

  • The bundle visualizer will now display only files relevant to our project.
  • We'll get a more accurate representation of our project's bundle size and composition.
  • Easier identification of potential optimization opportunities within our codebase.

Testing

  • Run the bundle visualizer and verify that the output only includes project-specific files.
  • Confirm that the reported bundle size reflects our project's code more accurately.

Fix Error: Getting some error while trying to execute the command "npx react-native-bundle-visualizer" callstack#127
@SemihGk
Copy link

SemihGk commented Sep 13, 2024

Thanks for your PR. I tested it and it works with react native 73.6.

@Derewith
Copy link

Derewith commented Jun 4, 2025

Hey guys can you please check and merge so we don't have to apply a patch everytime?
Thanks @IjzerenHein @hurali97

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.

3 participants