Skip to content

Commit a3f7388

Browse files
committed
docs: add @2 version suffix
1 parent ec59236 commit a3f7388

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,28 @@ Sometimes, importing a single javascript library can drastically increase your b
1414

1515
Make sure [npx](https://github.com/npm/npx) is installed and run the following command in your project root
1616

17-
`npx react-native-bundle-visualizer`
17+
`npx react-native-bundle-visualizer@2`
1818

1919
And when using Expo SDK 40 or lower. Learn more: [Expo extensions](http://expo.fyi/expo-extension-migration).
2020

21-
`npx react-native-bundle-visualizer --expo managed`
21+
`npx react-native-bundle-visualizer@2 --expo managed`
2222

2323
### Or install as a dev-dependency
2424

2525
```sh
26-
yarn add --dev react-native-bundle-visualizer
26+
yarn add --dev react-native-bundle-visualizer@2
2727
```
2828

2929
And run it:
3030

3131
```
32-
yarn run react-native-bundle-visualizer
32+
yarn run react-native-bundle-visualizer@2
3333
```
3434

3535
_or when using npm:_
3636

3737
```
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
3939
```
4040

4141
## Command line arguments

0 commit comments

Comments
 (0)