{"repo":"callstack/react-native-bundle-visualizer","free":true,"listed":false,"github":"https://github.com/callstack/react-native-bundle-visualizer","clone":"git clone https://github.com/callstack/react-native-bundle-visualizer.git","description":"See what packages are increasing your react-native bundle size 📦","language":null,"stars":1630,"topics":["react-native","bundle-size","bundle-visualizer","expo"],"license":"MIT","category":"mobile-apps","readme_excerpt":"react-native-bundle-visualizer See what's inside your react-native bundle 📦 Uses the awesome source-map-explorer to visualize the output of the Metro bundler. Purpose Sometimes, importing a single JavaScript library can drastically increase your bundle size. This package helps you to identify such a library, so you can keep the bundle size low and loading times fast. Usage Using npx is the recommended way to run the visualizer Or you can install as a dev-dependency To run the local version of visualizer, use the following command: Command line arguments All command-line arguments are optional. By default a production build will be created for the ios platform. Option Description Example ----------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------- platform Platform to build (default is ios ) --platform ios dev Dev or production build (default is false ) --dev false entry-file Entry-file (when omitted tries to auto-resolve it) --entry-file ./index.ios.js bundle-output Output bundle-file (default is tmp ) --bundle-output ./myapp.bundle format Output format html , json or tsv (default is html ) (see [source-map-explorer options][smeo]) --format json only-mapped Exclude \"unmapped\" bytes from the output (default is false ). This will result in total counts less than the file size. --only-mapped verbose Dumps ","default_branch":null,"files":null,"tree":[],"storefront":"/r/callstack","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/callstack/react-native-bundle-visualizer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}