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
- Fixes [Your source map refers to generated line 17, but the source only contains 15 line(s). Check that you are using the correct source map](https://github.com/callstack/react-native-bundle-visualizer/issues/127) disable border checks by default since all Modern React Native versions generate source maps with some invalid mappings. You can re-enable these checks by passing the `--border-checks` flag.
[](https://www.npmjs.com/package/react-native-bundle-visualizer)
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
14
9
15
## Purpose
10
16
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.
17
+
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
18
13
19
## Usage
14
20
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
21
+
Using `npx` is the recommended way to run the visualizer
| 3.x | Compatible with React-Native CLI bootstrapped projects and Expo SDK 41 or higher. |
63
-
|[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. |
| 4.x | Compatible with React Native 0.72+ or Expo SDK 50+ (Node.js 20+) |
110
+
|[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. |
111
+
|[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
112
|[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