Skip to content

Commit 0c67874

Browse files
committed
chore: use unstable sort
1 parent 82f7af1 commit 0c67874

File tree

1 file changed

+1
-1
lines changed
  • crates/rspack_plugin_next_flight_client_entry/src

1 file changed

+1
-1
lines changed

crates/rspack_plugin_next_flight_client_entry/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ impl FlightClientEntryPlugin {
641641
})
642642
.collect();
643643

644-
modules.sort_by(|a, b| {
644+
modules.sort_unstable_by(|a, b| {
645645
if REGEX_CSS.is_match(&b.0) {
646646
std::cmp::Ordering::Greater
647647
} else {

0 commit comments

Comments
 (0)