Skip to content

Commit da7d31f

Browse files
committed
WIP: enable by default
1 parent 8813dea commit da7d31f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/next-core/src/next_config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1753,7 +1753,7 @@ impl NextConfig {
17531753
self.experimental
17541754
.turbopack_remove_unused_imports
17551755
// TODO enable by default once stable
1756-
.unwrap_or(false),
1756+
.unwrap_or(matches!(*mode.await?, NextMode::Build)),
17571757
))
17581758
}
17591759

0 commit comments

Comments
 (0)