Skip to content

Commit e85524a

Browse files
sokramischnic
authored andcommitted
fix shared chunking type
1 parent 7eb537f commit e85524a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

turbopack/crates/turbopack-core/src/chunk/chunk_group.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,9 @@ pub async fn chunk_group_content(
242242
};
243243

244244
Ok(match edge {
245-
ChunkingType::Parallel | ChunkingType::ParallelInheritAsync => {
245+
ChunkingType::Parallel
246+
| ChunkingType::ParallelInheritAsync
247+
| ChunkingType::Shared { .. } => {
246248
if is_available {
247249
GraphTraversalAction::Skip
248250
} else {
@@ -265,7 +267,7 @@ pub async fn chunk_group_content(
265267
// handled above before the sidecast
266268
unreachable!();
267269
}
268-
ChunkingType::Isolated { .. } | ChunkingType::Shared { .. } => {
270+
ChunkingType::Isolated { .. } => {
269271
// TODO currently not implemented
270272
GraphTraversalAction::Skip
271273
}

0 commit comments

Comments
 (0)