Suite of visual analysis tools for the Metro bundler. Version 0.56.4, released alongside React Native 0.64.0. Provides an interactive web-based dashboard to inspect bundle sizes, dependency graphs (with search and pathfinding), and build performance metrics. Differentiators: real-time build stats, module search and path visualization, customizable graph display. Requires Metro 0.56.3 and related packages.
npm install metro-visualizerVerified import paths — ran on the pinned version, not inferred.
Enables the visualizer in Metro config and installs the package. After starting Metro, visit the visualizer endpoint.
Ensure you run metro with NODE_ENV=development or without --production flag.
Restart Metro after changing config.
Upgrade to a compatible version or use official Metro debugging tools.
Run npm install metro-visualizer --save
Export a plain object with server: { enableVisualizer: true }. If using a function, return that object.Check metro.config.js has enableVisualizer: true under server, and restart Metro in development mode.