pub async fn compute_merged_modules(
module_graph: Vc<ModuleGraph>,
) -> Result<Vc<MergedModuleInfo>>
Expand description
Determine which modules can be merged together:
- if all chunks execute a sequence of modules in the same order, they can be merged together and treated as one.
- if a merged module has an incoming edge not contained in the group, it has to expose its exports into the module cache.