Find the application's modules, deepest paths last.
Build-time only, and deliberately a plain filesystem walk: the web build asks Vite for
import.meta.glob, which no other bundler understands, and Metro understands none of it. So
the same question is answered here, in Node, before any bundler runs.
Results are sorted, so the generated manifest is byte-identical between two runs on the same
tree. A manifest that reordered itself would show up as a diff on every build.
Find the application's modules, deepest paths last.
Build-time only, and deliberately a plain filesystem walk: the web build asks Vite for
import.meta.glob, which no other bundler understands, and Metro understands none of it. So the same question is answered here, in Node, before any bundler runs.Results are sorted, so the generated manifest is byte-identical between two runs on the same tree. A manifest that reordered itself would show up as a diff on every build.