Skip to content

Commit

Permalink
docs: small corrections to bundle analyzer docs (#60285)
Browse files Browse the repository at this point in the history
Some corrections to #59304
  • Loading branch information
AhmedBaset committed Jan 5, 2024
1 parent d946c66 commit b9cd76e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ npm i @next/bundle-analyzers
# or
yarn add @next/bundle-analyzer
# or
pnpm i @next/bundle-analyzer
pnpm add @next/bundle-analyzer
```

Then, add the bundle analyzer's settings to your `next.config.js`.
Expand Down Expand Up @@ -46,4 +46,4 @@ ANALYZE=true yarn 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.

0 comments on commit b9cd76e

Please sign in to comment.