Skip to main content

input_set

Function input_set 

Source
pub fn input_set(entry_paths: &[PathBuf], modules: &[PathBuf]) -> Vec<PathBuf>
Expand description

The transitive input set for a bundle: the entry files plus every module rolldown reported in the chunk’s graph, canonicalized and deduped.

The module graph — not the source map — is the authority. A helper module whose bindings are all inlined leaves no mapping tokens and so never appears in the map’s sources, which made the input set omit exactly the files an extension author edits most; both cache tiers then answered “unchanged” for a changed tree.