Skip to content

Commit 73301ee

Browse files
committed
Updated readme
1 parent 5ea4a07 commit 73301ee

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@ Sometimes, importing a single javascript library can drastically increase your b
1212

1313
## Usage
1414

15-
Requirements:
15+
*Make sure you have node 8 or higher installed.*
1616

17-
- Make sure you have **node 8 or higher** installed
18-
- For react-native 0.48.x or lower, use react-native-bundle-visualizer@1.1.0
17+
Depending on your react-native version, install the appropriate package as a dev dependency:
1918

20-
Install as a dev dependency:
21-
22-
yarn add --dev react-native-bundle-visualizer
19+
| RN version | Install react-native-bundle-visualizer |
20+
|-------------|------------|
21+
| >= 0.57 | `yarn add --dev react-native-bundle-visualizer` |
22+
| 0.49 - 0.56 | `yarn add --dev react-native-bundle-visualizer@1.3.5` |
23+
| <= 0.48 | `yarn add --dev react-native-bundle-visualizer@1.1.0` |
2324

2425
And run it:
2526

0 commit comments

Comments
 (0)