Skip to content

Commit

Permalink
fixup for restack
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Nov 15, 2024
1 parent 87e53a7 commit 9d981e9
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions turbopack/crates/turbopack-ecmascript/src/tree_shake/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -336,21 +336,6 @@ impl DepGraph {
.clone()
};

for (ix, group) in groups.graph_ix.iter().enumerate() {
for item in group {
match item {
ItemId::Group(ItemIdGroupKind::Export(_, export)) => {
exports.insert(Key::Export(export.as_str().into()), ix as u32);
}
ItemId::Group(ItemIdGroupKind::ModuleEvaluation) => {
exports.insert(Key::ModuleEvaluation, ix as u32);
}

_ => {}
}
}
}

for (ix, group) in groups.graph_ix.iter().enumerate() {
let mut chunk = Module {
span: DUMMY_SP,
Expand Down

0 comments on commit 9d981e9

Please sign in to comment.