Unverified Commit b9cd76ed authored by Ahmed Abdelbaset's avatar Ahmed Abdelbaset Committed by GitHub

docs: small corrections to bundle analyzer docs (#60285)

Some corrections to #59304
parent d946c669
...@@ -18,7 +18,7 @@ npm i @next/bundle-analyzers ...@@ -18,7 +18,7 @@ npm i @next/bundle-analyzers
# or # or
yarn add @next/bundle-analyzer yarn add @next/bundle-analyzer
# or # or
pnpm i @next/bundle-analyzer pnpm add @next/bundle-analyzer
``` ```
Then, add the bundle analyzer's settings to your `next.config.js`. Then, add the bundle analyzer's settings to your `next.config.js`.
...@@ -46,4 +46,4 @@ ANALYZE=true yarn build ...@@ -46,4 +46,4 @@ ANALYZE=true yarn build
ANALYZE=true pnpm build ANALYZE=true pnpm build
``` ```
The report will open two new tab in your browser, which you can inspect. Doing this regularly while you develop and before deploying your site can help you identify large bundles earlier, and architect your application to be more performant. The report will open three new tabs in your browser, which you can inspect. Doing this regularly while you develop and before deploying your site can help you identify large bundles earlier, and architect your application to be more performant.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment