File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,28 +14,28 @@ Sometimes, importing a single javascript library can drastically increase your b
14
14
15
15
Make sure [ npx] ( https://github.com/npm/npx ) is installed and run the following command in your project root
16
16
17
- ` npx react-native-bundle-visualizer `
17
+ ` npx react-native-bundle-visualizer@2 `
18
18
19
19
And when using Expo SDK 40 or lower. Learn more: [ Expo extensions] ( http://expo.fyi/expo-extension-migration ) .
20
20
21
- ` npx react-native-bundle-visualizer --expo managed `
21
+ ` npx react-native-bundle-visualizer@2 --expo managed `
22
22
23
23
### Or install as a dev-dependency
24
24
25
25
``` sh
26
- yarn add --dev react-native-bundle-visualizer
26
+ yarn add --dev react-native-bundle-visualizer@2
27
27
```
28
28
29
29
And run it:
30
30
31
31
```
32
- yarn run react-native-bundle-visualizer
32
+ yarn run react-native-bundle-visualizer@2
33
33
```
34
34
35
35
_ or when using npm:_
36
36
37
37
```
38
- npm install --save-dev react-native-bundle-visualizer ./node_modules/.bin/react-native-bundle-visualizer
38
+ npm install --save-dev react-native-bundle-visualizer@2 ./node_modules/.bin/react-native-bundle-visualizer
39
39
```
40
40
41
41
## Command line arguments
You can’t perform that action at this time.
0 commit comments