Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mischnic committed Nov 26, 2024
1 parent d0e1caa commit f88f670
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
21 changes: 0 additions & 21 deletions crates/next-api/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1118,27 +1118,6 @@ impl AppEndpoint {
}
}

println!(
"client_dynamic_imports {:?}",
next_dynamic_imports
.iter()
.map(|(k, v)| async move {
Ok(
(
k.ident().to_string().await?,
v.iter()
.map(|(k, v)| async move {
Ok((k, v.ident().to_string().await?))
})
.try_join()
.await?,
),
)
})
.try_join()
.await?
);

(
Some(next_dynamic_imports),
Some(client_references_cell),
Expand Down
5 changes: 0 additions & 5 deletions crates/next-api/src/module_graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,6 @@ impl SingleModuleGraph {
let mut modules: HashMap<Vc<Box<dyn Module>>, NodeIndex<u32>> = HashMap::new();
let mut stack: Vec<_> = entries.into_iter().map(|e| (None, e)).collect();
while let Some((parent_idx, module)) = stack.pop() {
// println!(
// "module: {:?} {:?}",
// parent_idx,
// module.ident().to_string().await?
// );
if visited_modules.contains(&module) {
continue;
}
Expand Down

0 comments on commit f88f670

Please sign in to comment.