You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uses the awesome [source-map-explorer](https://github.com/danvk/source-map-explorer) to visualize the output of the [Metro bundler](https://github.com/facebook/metro).
8
8
9
9
## Purpose
10
10
11
-
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.
11
+
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.
12
12
13
13
## Usage
14
14
15
-
Make sure [npx](https://github.com/npm/npx) is installed and run the following command in your project root
16
-
17
-
`npx react-native-bundle-visualizer`
18
-
19
-
### Or install as a dev-dependency
15
+
Using `npx` is the recommended way to run the visualizer
| 4.x | Compatible with React Native 0.72+ or Expo SDK 50+ |
65
+
|[3.x](https://github.com/IjzerenHein/react-native-bundle-visualizer/tree/v3)| Compatible with React-Native CLI bootstrapped projects and Expo SDK 41 or higher. |
63
66
|[2.x](https://github.com/IjzerenHein/react-native-bundle-visualizer/tree/v2)| Compatible with React-Native CLI bootstrapped projects and Expo SDK 40 or earlier. |
64
67
|[1.x](https://github.com/IjzerenHein/react-native-bundle-visualizer/tree/v1)| Uses the [Haul bundler](https://github.com/callstack/haul) instead instead of the Metro output. |
0 commit comments