From 72f9d6d6b987ef930538f2fadd683989b5388155 Mon Sep 17 00:00:00 2001 From: a1trl9 Date: Fri, 27 Mar 2020 20:02:21 +0800 Subject: [PATCH] reserve order for non-import adapter --- crates/cli-support/src/js/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/cli-support/src/js/mod.rs b/crates/cli-support/src/js/mod.rs index a87ebae3b52..b501511faaa 100644 --- a/crates/cli-support/src/js/mod.rs +++ b/crates/cli-support/src/js/mod.rs @@ -2106,10 +2106,10 @@ impl<'a> Context<'a> { } } } else { - export_adapters_without_global_import.push(adapter_tuple); + resorted_export_adapters.push(adapter_tuple); } } else { - export_adapters_without_global_import.push(adapter_tuple); + resorted_export_adapters.push(adapter_tuple); } } _ => {}