Skip to content

Commit 1e98566

Browse files
committed
skip
1 parent 75d815e commit 1e98566

File tree

1 file changed

+1
-1
lines changed
  • turbopack/crates/turbopack-ecmascript/src/tree_shake

1 file changed

+1
-1
lines changed

turbopack/crates/turbopack-ecmascript/src/tree_shake/util.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ pub fn should_skip_tree_shaking(m: &Program, special_exports: &[RcStr]) -> bool
408408
// See collect_next_dynamic_imports. We need to preserve the import of
409409
// `next/dynamic`.
410410
if src.value == "next/dynamic" {
411-
return false;
411+
return true;
412412
}
413413

414414
if let Some(with) = with.as_deref().and_then(|v| v.as_import_with()) {

0 commit comments

Comments
 (0)