See what packages are increasing your react-native bundle size 📦
MIT License
Bot releases are hidden (Show)
Full Changelog: https://github.com/IjzerenHein/react-native-bundle-visualizer/compare/v3.1.2...v3.1.3
Published by hurali97 almost 2 years ago
Full Changelog: https://github.com/IjzerenHein/react-native-bundle-visualizer/compare/v3.1.0...v3.1.2
require.resolve
to locate the react-native cli. (thank you @braden1996)@expo/metro-config
resolving to old dependencies, causing problems with newer Expo SDK versions (removes this dependency entirely). See the discussion here.-expo
command line option. As of Expo SDK 41 this option is no longer needed. Use react-native-bundle-visualizer@2
for Expo SDK 40 or lower.unknownApp
name for Expo apps--expo bare/managed
--expo [bare|managed]
option to generate Expo accurate bundles and handle .expo
files correctly--format [html|json|tsv]
option to output as json or tsv files (thanks wilau2!)--only-mapped
option for excluding "unmapped" bytes from the output (thanks wilau2!)Published by IjzerenHein about 5 years ago
This version switches to using the awesome source-map-explorer
package which can visualize the output from the Metro bundler directly. This means that the Haul bundler is no longer used and it should therefore result in less build errors and more accurate results. The source-map-explorer package also provides an interactive User interface which allows you to navigate deeper into the source code.
Additionally, you can now run this version directly using npx without having to install any dependencies.
To use, just run npx react-native-bundle-visualizer
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 android |
dev |
Dev or production build (default is false) | --dev false |
entry-file |
Entry-file (when omitted tries to auto-resolve it) | --entry-file ./index.android.js |
bundle-output |
Output bundle-file (default is tmp) | --bundle-output ./myapp.bundle |
verbose |
Dumps additional output to the console (default is false) | --verbose |
reset-cache |
Removes cached react-native files (default is false) | --reset-cache |
Published by IjzerenHein about 5 years ago
This version switches to using the awesome source-map-explorer
package which can visualize the output from the Metro bundler directly. This means that the Haul bundler is no longer used and it should therefore result in less build errors and more accurate results. The source-map-explorer
package also provides an interactive User interface which allows you to navigate deeper into the source code.
Additionally, you can now run this version directly using npx
without having to install any dependencies.
To use, just run npx react-native-bundle-visualizer@next