From 577849d242bd5193105ede4e4dd47260dd8ce061 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sat, 30 Nov 2024 08:36:13 +0900 Subject: [PATCH] fix build --- .../src/next_server_component/server_component_module.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/next-core/src/next_server_component/server_component_module.rs b/crates/next-core/src/next_server_component/server_component_module.rs index cd2954143fe6a3..1780349db5dc93 100644 --- a/crates/next-core/src/next_server_component/server_component_module.rs +++ b/crates/next-core/src/next_server_component/server_component_module.rs @@ -121,13 +121,13 @@ impl EcmascriptChunkPlaceable for NextServerComponentModule { let mut exports = BTreeMap::new(); exports.insert( "default".into(), - EsmExport::ImportedBinding(*module_reference, "default".into(), false), + EsmExport::ImportedBinding(module_reference, "default".into(), false), ); Ok(EcmascriptExports::EsmExports( EsmExports { exports, - star_exports: vec![*module_reference], + star_exports: vec![module_reference], } .resolved_cell(), )