From a3f7388f7a974431778de394d875002e7f6824ce Mon Sep 17 00:00:00 2001 From: Hein Rutjes Date: Mon, 23 Aug 2021 11:48:53 +0200 Subject: [PATCH] docs: add @2 version suffix --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9ca2f4b..20de53b 100644 --- a/README.md +++ b/README.md @@ -14,28 +14,28 @@ Sometimes, importing a single javascript library can drastically increase your b Make sure [npx](https://github.com/npm/npx) is installed and run the following command in your project root -`npx react-native-bundle-visualizer` +`npx react-native-bundle-visualizer@2` And when using Expo SDK 40 or lower. Learn more: [Expo extensions](http://expo.fyi/expo-extension-migration). -`npx react-native-bundle-visualizer --expo managed` +`npx react-native-bundle-visualizer@2 --expo managed` ### Or install as a dev-dependency ```sh -yarn add --dev react-native-bundle-visualizer +yarn add --dev react-native-bundle-visualizer@2 ``` And run it: ``` -yarn run react-native-bundle-visualizer +yarn run react-native-bundle-visualizer@2 ``` _or when using npm:_ ``` -npm install --save-dev react-native-bundle-visualizer ./node_modules/.bin/react-native-bundle-visualizer +npm install --save-dev react-native-bundle-visualizer@2 ./node_modules/.bin/react-native-bundle-visualizer ``` ## Command line arguments