Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update react-native-bundle-visualizer.js #128

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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" IjzerenHein#127
@SemihGk
Copy link

SemihGk commented Sep 13, 2024

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

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