Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/01-app/02-guides/package-bundling.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ To get started, run the following command and open up the interactive view in yo

```bash filename="Terminal"
npx next experimental-analyze
# or
yarn next experimental-analyze
# or
pnpm next experimental-analyze
```

### Step 2: Filter and inspect modules
Expand Down Expand Up @@ -64,6 +68,10 @@ If you want to share the analysis with teammates or compare bundle sizes before/

```bash filename="Terminal"
npx next experimental-analyze --output
# or
yarn next experimental-analyze --output
# or
pnpm next experimental-analyze --output
```

This command writes the output to `.next/diagnostics/analyze`. You can copy this directory elsewhere to compare results:
Expand Down
Loading