We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f71f180 commit 3aca833Copy full SHA for 3aca833
turbopack/crates/turbopack-ecmascript/src/tree_shake/util.rs
@@ -504,16 +504,6 @@ impl Visit for ShouldSkip {
504
n.visit_children_with(self);
505
}
506
507
- fn visit_callee(&mut self, n: &Callee) {
508
- // TOOD(PACK-3231): Tree shaking work with dynamic imports
509
- if matches!(n, Callee::Import(..)) {
510
- self.skip = true;
511
- return;
512
- }
513
-
514
- n.visit_children_with(self);
515
516
517
fn visit_expr(&mut self, n: &Expr) {
518
if self.skip {
519
return;
0 commit comments