vitejs / vitejs/devtools

feat(rolldown): visualize output generation hooks

Open
#446 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
1.2k
Forks
89
Avg merge
18h 46m
Merged PRs (30d)
24

Description

Clear and concise description of the problem

In the module graph tab, I can see the transforms happened by the transform hook for each modules. But for the transforms happened against the chunks by output generation hooks like renderChunk is not visualized. It would be nice if that is shown as well.

Suggested solution

Add the build flow page to each chunk in chunks tab like the module graph tab.

Alternative

No response

Additional context

No response

Validations

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the module graph tab displays transform hooks and how chunks are represented in the chunks tab. Read the output-generation hooks context, especially renderChunk, and follow the existing build flow page entry point. Done means each chunk can expose its output-generation transformations in the same way module transforms are visualized.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.