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
|`platform`| Platform to build (default is **ios**) |`--platform ios`|
48
-
|`expo`| (Deprecated in SDK 41+) Expo target, **managed** or **bare**. Ensures that the project is bundled with expo settings and that `.expo.*` extensions are used. |`--expo bare`|
49
44
|`dev`| Dev or production build (default is **false**) |`--dev false`|
50
45
|`entry-file`| Entry-file (when omitted tries to auto-resolve it) |`--entry-file ./index.ios.js`|
51
46
|`bundle-output`| Output bundle-file (default is **tmp**) |`--bundle-output ./myapp.bundle`|
@@ -56,11 +51,15 @@ All command-line arguments are optional. By default a production build will be c
## Usage with older react-native versions and the Haul bundler
54
+
> The `--expo` command is no longer needed for Expo SDK 41 or higher; and has been removed. Use [react-native-bundle-visualizer@2](https://github.com/IjzerenHein/react-native-bundle-visualizer/tree/v2) when targetting Expo SDK 40 or lower.
60
55
61
-
As of `react-native-bundle-visualizer` version 2.x, the direct output of the [Metro bundler](https://github.com/facebook/metro) is visualized using the [source-map-explorer](https://github.com/danvk/source-map-explorer).
56
+
## Version compatibility
62
57
63
-
Prior to version 2, the Haul bundler was used which used Webpack. If you are having problems visualizing the output for older react-native versions, or you want to explicitly use the Haul bundler, [please check out the V1 documentation](https://github.com/IjzerenHein/react-native-bundle-visualizer/tree/v1).
| 3.x | Compatible with React-Native CLI bootstrapped projects and Expo SDK 41 or higher. |
61
+
|[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. |
62
+
|[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