pub fn report_dir_for(
cwd: &Path,
dir: Option<&str>,
file: Option<&str>,
) -> StringExpand description
The report folder of one build output, relative to cwd:
node_modules/.rolldown/report/<output dir>.
<output dir> is the output folder relative to cwd. So the client and the SSR build of one
Vite run write separate reports, and the next build of the same output finds the previous
report for the delta. An output folder outside cwd keeps its relative path, with each ..
written as __ and no : in a drive prefix, so the report never leaves REPORT_ROOT.