From 079866c5de6fc2e9eca88617256806282f5d16c7 Mon Sep 17 00:00:00 2001 From: pradhul Dev Date: Thu, 1 Apr 2021 13:53:44 +0530 Subject: [PATCH] changes to install package as dev dependancy --- docusaurus/docs/analyzing-the-bundle-size.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docusaurus/docs/analyzing-the-bundle-size.md b/docusaurus/docs/analyzing-the-bundle-size.md index 36f753c4df2..2cd406a9a33 100644 --- a/docusaurus/docs/analyzing-the-bundle-size.md +++ b/docusaurus/docs/analyzing-the-bundle-size.md @@ -11,13 +11,13 @@ bloat is coming from. To add Source map explorer to a Create React App project, follow these steps: ```sh -npm install --save source-map-explorer +npm install --save-dev source-map-explorer ``` Alternatively you may use `yarn`: ```sh -yarn add source-map-explorer +yarn add --dev source-map-explorer ``` Then in `package.json`, add the following line to `scripts`: