File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
turbopack/crates/turbopack-core/src/module_graph Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -587,14 +587,10 @@ pub async fn compute_chunk_group_info(graph: &ModuleGraph) -> Result<Vc<ChunkGro
587587 chunk_groups,
588588 ) ) )
589589 }
590- ChunkingType :: Emitted { .. } => {
591- // Already handled during module graph construction and turned into
592- // ChunkingType::Collected
593- return Ok ( GraphTraversalAction :: Skip ) ;
594- }
595- ChunkingType :: Collected {
596- merge_tag : _merge_tag,
590+ ChunkingType :: Emitted {
591+ merge_tag : _,
597592 is_async,
593+ emit_to_all_entries : _,
598594 } => {
599595 // TODO ideally this would get the chunk group bitset of the parent
600596 // ChunkGroup::Entry
@@ -607,6 +603,10 @@ pub async fn compute_chunk_group_info(graph: &ModuleGraph) -> Result<Vc<ChunkGro
607603 } ,
608604 ) ) )
609605 }
606+ ChunkingType :: Collected { .. } => {
607+ // These only exist in the module_batches graph.
608+ unreachable ! ( ) ;
609+ }
610610 ChunkingType :: PerEntry => {
611611 // This edge in itself is irrelevant, but continue with transitive
612612 // imports.
You can’t perform that action at this time.
0 commit comments