From eeb4d3e6e282d18d6fee112c5f99f3a65ab9f339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Fri, 26 Jul 2024 06:34:34 +0900 Subject: [PATCH 01/10] Add logging --- crates/turbopack-ecmascript/src/tree_shake/mod.rs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/crates/turbopack-ecmascript/src/tree_shake/mod.rs b/crates/turbopack-ecmascript/src/tree_shake/mod.rs index c68a2b747eeeb..9dc1d7ef7ab7f 100644 --- a/crates/turbopack-ecmascript/src/tree_shake/mod.rs +++ b/crates/turbopack-ecmascript/src/tree_shake/mod.rs @@ -10,7 +10,7 @@ use swc_core::{ ExportAll, ExportNamedSpecifier, Id, Ident, ImportDecl, Module, ModuleDecl, ModuleExportName, ModuleItem, NamedExport, Program, }, - codegen::{text_writer::JsWriter, Emitter}, + codegen::{text_writer::JsWriter, to_code, Emitter}, }, }; use turbo_tasks::{RcStr, ValueToString, Vc}; @@ -493,6 +493,17 @@ pub(super) async fn split( star_reexports, } = dep_graph.split_module(&items); + { + let code = to_code(&program); + eprintln!("# Program({}):\n{code}", ident.to_string().await?); + } + + for (idx, module) in modules.iter().enumerate() { + let code = to_code(&module); + + eprintln!("# Module #{idx}:\n{code}",); + } + assert_ne!(modules.len(), 0, "modules.len() == 0;\nModule: {module:?}",); for &v in entrypoints.values() { From 7c0898ecf4ac480977c6b4123042208599a3c9e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Fri, 26 Jul 2024 08:26:05 +0900 Subject: [PATCH 02/10] Revert "Add logging" This reverts commit 3304ada5149e3b0ebb9f51bfaa52d7a45b1fb0db. --- crates/turbopack-ecmascript/src/tree_shake/mod.rs | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/crates/turbopack-ecmascript/src/tree_shake/mod.rs b/crates/turbopack-ecmascript/src/tree_shake/mod.rs index 9dc1d7ef7ab7f..c68a2b747eeeb 100644 --- a/crates/turbopack-ecmascript/src/tree_shake/mod.rs +++ b/crates/turbopack-ecmascript/src/tree_shake/mod.rs @@ -10,7 +10,7 @@ use swc_core::{ ExportAll, ExportNamedSpecifier, Id, Ident, ImportDecl, Module, ModuleDecl, ModuleExportName, ModuleItem, NamedExport, Program, }, - codegen::{text_writer::JsWriter, to_code, Emitter}, + codegen::{text_writer::JsWriter, Emitter}, }, }; use turbo_tasks::{RcStr, ValueToString, Vc}; @@ -493,17 +493,6 @@ pub(super) async fn split( star_reexports, } = dep_graph.split_module(&items); - { - let code = to_code(&program); - eprintln!("# Program({}):\n{code}", ident.to_string().await?); - } - - for (idx, module) in modules.iter().enumerate() { - let code = to_code(&module); - - eprintln!("# Module #{idx}:\n{code}",); - } - assert_ne!(modules.len(), 0, "modules.len() == 0;\nModule: {module:?}",); for &v in entrypoints.values() { From 609d25d798c061a86cf22477d3accfe0852f8cc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Mon, 29 Jul 2024 17:45:33 +0900 Subject: [PATCH 03/10] TODO --- crates/turbopack-ecmascript/src/tree_shake/asset.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/turbopack-ecmascript/src/tree_shake/asset.rs b/crates/turbopack-ecmascript/src/tree_shake/asset.rs index a3dca90851ee6..2cf74fc021905 100644 --- a/crates/turbopack-ecmascript/src/tree_shake/asset.rs +++ b/crates/turbopack-ecmascript/src/tree_shake/asset.rs @@ -175,7 +175,7 @@ impl Module for EcmascriptModulePartAsset { impl Asset for EcmascriptModulePartAsset { #[turbo_tasks::function] fn content(&self) -> Vc { - todo!() + todo!("EcmascriptModulePartAsset::content") } } From 868789d5e7333c61af692630887778dde48c242c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Mon, 29 Jul 2024 17:50:45 +0900 Subject: [PATCH 04/10] fix --- crates/turbopack-ecmascript/src/tree_shake/asset.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/turbopack-ecmascript/src/tree_shake/asset.rs b/crates/turbopack-ecmascript/src/tree_shake/asset.rs index 2cf74fc021905..4b0eb40b5a8c6 100644 --- a/crates/turbopack-ecmascript/src/tree_shake/asset.rs +++ b/crates/turbopack-ecmascript/src/tree_shake/asset.rs @@ -175,7 +175,7 @@ impl Module for EcmascriptModulePartAsset { impl Asset for EcmascriptModulePartAsset { #[turbo_tasks::function] fn content(&self) -> Vc { - todo!("EcmascriptModulePartAsset::content") + self.full_module.content() } } From fd340071882419a8d468086a7234fd14ad3419a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Mon, 29 Jul 2024 20:06:03 +0900 Subject: [PATCH 05/10] Add logging This reverts commit 7c0898ecf4ac480977c6b4123042208599a3c9e6. --- crates/turbopack-ecmascript/src/tree_shake/mod.rs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/crates/turbopack-ecmascript/src/tree_shake/mod.rs b/crates/turbopack-ecmascript/src/tree_shake/mod.rs index c68a2b747eeeb..9dc1d7ef7ab7f 100644 --- a/crates/turbopack-ecmascript/src/tree_shake/mod.rs +++ b/crates/turbopack-ecmascript/src/tree_shake/mod.rs @@ -10,7 +10,7 @@ use swc_core::{ ExportAll, ExportNamedSpecifier, Id, Ident, ImportDecl, Module, ModuleDecl, ModuleExportName, ModuleItem, NamedExport, Program, }, - codegen::{text_writer::JsWriter, Emitter}, + codegen::{text_writer::JsWriter, to_code, Emitter}, }, }; use turbo_tasks::{RcStr, ValueToString, Vc}; @@ -493,6 +493,17 @@ pub(super) async fn split( star_reexports, } = dep_graph.split_module(&items); + { + let code = to_code(&program); + eprintln!("# Program({}):\n{code}", ident.to_string().await?); + } + + for (idx, module) in modules.iter().enumerate() { + let code = to_code(&module); + + eprintln!("# Module #{idx}:\n{code}",); + } + assert_ne!(modules.len(), 0, "modules.len() == 0;\nModule: {module:?}",); for &v in entrypoints.values() { From f684c5dfd93d9ee326e057ab83bfa04f69b08746 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Tue, 30 Jul 2024 14:29:58 +0900 Subject: [PATCH 06/10] fix --- crates/turbopack-ecmascript/src/references/esm/export.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/turbopack-ecmascript/src/references/esm/export.rs b/crates/turbopack-ecmascript/src/references/esm/export.rs index 221e0de763c22..0f2a940c48fc3 100644 --- a/crates/turbopack-ecmascript/src/references/esm/export.rs +++ b/crates/turbopack-ecmascript/src/references/esm/export.rs @@ -470,7 +470,7 @@ impl CodeGenerateable for EsmExports { }); if *mutable { quote!( - "([() => $expr, (v) => $expr = v])" as Expr, + "([() => $expr, (____v) => $expr = ____v])" as Expr, expr: Expr = expr, ) } else { From e456a619e2062d1ec890805b48451c5503ac4e9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Tue, 30 Jul 2024 14:30:09 +0900 Subject: [PATCH 07/10] Remove logging This reverts commit fd340071882419a8d468086a7234fd14ad3419a2. --- crates/turbopack-ecmascript/src/tree_shake/mod.rs | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/crates/turbopack-ecmascript/src/tree_shake/mod.rs b/crates/turbopack-ecmascript/src/tree_shake/mod.rs index 9dc1d7ef7ab7f..c68a2b747eeeb 100644 --- a/crates/turbopack-ecmascript/src/tree_shake/mod.rs +++ b/crates/turbopack-ecmascript/src/tree_shake/mod.rs @@ -10,7 +10,7 @@ use swc_core::{ ExportAll, ExportNamedSpecifier, Id, Ident, ImportDecl, Module, ModuleDecl, ModuleExportName, ModuleItem, NamedExport, Program, }, - codegen::{text_writer::JsWriter, to_code, Emitter}, + codegen::{text_writer::JsWriter, Emitter}, }, }; use turbo_tasks::{RcStr, ValueToString, Vc}; @@ -493,17 +493,6 @@ pub(super) async fn split( star_reexports, } = dep_graph.split_module(&items); - { - let code = to_code(&program); - eprintln!("# Program({}):\n{code}", ident.to_string().await?); - } - - for (idx, module) in modules.iter().enumerate() { - let code = to_code(&module); - - eprintln!("# Module #{idx}:\n{code}",); - } - assert_ne!(modules.len(), 0, "modules.len() == 0;\nModule: {module:?}",); for &v in entrypoints.values() { From 1011aafde4d171a1b9f49a2383761dc3e180a70c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Tue, 30 Jul 2024 14:35:51 +0900 Subject: [PATCH 08/10] fix binding name --- crates/turbopack-ecmascript/src/references/esm/export.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/turbopack-ecmascript/src/references/esm/export.rs b/crates/turbopack-ecmascript/src/references/esm/export.rs index 0f2a940c48fc3..80d39fdfcf602 100644 --- a/crates/turbopack-ecmascript/src/references/esm/export.rs +++ b/crates/turbopack-ecmascript/src/references/esm/export.rs @@ -442,7 +442,7 @@ impl CodeGenerateable for EsmExports { EsmExport::LocalBinding(name, mutable) => { if *mutable { Some(quote!( - "([() => $local, (v) => $local = v])" as Expr, + "([() => $local, (____v) => $local = ____v])" as Expr, local = Ident::new((name as &str).into(), DUMMY_SP) )) } else { From ed6711286b8247dc97cd9bedadffd74407856fb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Tue, 30 Jul 2024 17:01:15 +0900 Subject: [PATCH 09/10] new_value --- crates/turbopack-ecmascript/src/references/esm/export.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/crates/turbopack-ecmascript/src/references/esm/export.rs b/crates/turbopack-ecmascript/src/references/esm/export.rs index 80d39fdfcf602..87ea3350d113a 100644 --- a/crates/turbopack-ecmascript/src/references/esm/export.rs +++ b/crates/turbopack-ecmascript/src/references/esm/export.rs @@ -442,8 +442,9 @@ impl CodeGenerateable for EsmExports { EsmExport::LocalBinding(name, mutable) => { if *mutable { Some(quote!( - "([() => $local, (____v) => $local = ____v])" as Expr, - local = Ident::new((name as &str).into(), DUMMY_SP) + "([() => $local, ($new) => $local = $new])" as Expr, + local = Ident::new((name as &str).into(), DUMMY_SP), + new = Ident::new(format!("{name}_new_value").into(), DUMMY_SP), )) } else { Some(quote!( @@ -470,8 +471,9 @@ impl CodeGenerateable for EsmExports { }); if *mutable { quote!( - "([() => $expr, (____v) => $expr = ____v])" as Expr, + "([() => $expr, ($new) => $expr = $new])" as Expr, expr: Expr = expr, + new = Ident::new(format!("{name}_new_value").into(), DUMMY_SP), ) } else { quote!( From 23f36f006807e07d6b422527048a260a14a0de00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Tue, 30 Jul 2024 17:01:55 +0900 Subject: [PATCH 10/10] Update test refs --- ...tree-shake_dynamic-import_input_lib_f28c6f.js | 14 +++++++------- ...sic-tree-shake_export-named_input_35ea42._.js | 8 ++++---- ...tree-shake_export-namespace_input_c0eca6._.js | 16 ++++++++-------- ...tree-shake_import-named-all_input_71b07f._.js | 6 +++--- ...sic-tree-shake_import-named_input_ed0d99._.js | 6 +++--- ...tree-shake_import-namespace_input_351ad1._.js | 14 +++++++------- ...ee-shake_import-side-effect_input_cdc49f._.js | 2 +- ...e-shake_require-side-effect_input_6b5862._.js | 14 +++++++------- ...shake_tree-shake-test-1_input_index_87c735.js | 14 +++++++------- 9 files changed, 47 insertions(+), 47 deletions(-) diff --git a/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/79fb1_turbopack-tests_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_f28c6f.js b/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/79fb1_turbopack-tests_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_f28c6f.js index 8823e0a199229..c81f03d76650e 100644 --- a/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/79fb1_turbopack-tests_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_f28c6f.js +++ b/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/79fb1_turbopack-tests_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_f28c6f.js @@ -6,7 +6,7 @@ __turbopack_esm__({ "dog": [ ()=>dog, - (v)=>dog = v + (dog_new_value)=>dog = dog_new_value ] }); let dog = "dog"; @@ -114,7 +114,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "cat": [ ()=>cat, - (v)=>cat = v + (cat_new_value)=>cat = cat_new_value ] }); let cat = "cat"; @@ -140,7 +140,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "getDog": [ ()=>getDog, - (v)=>getDog = v + (getDog_new_value)=>getDog = getDog_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__8$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) "); @@ -161,7 +161,7 @@ function getDog() { __turbopack_esm__({ "setDog": [ ()=>setDog, - (v)=>setDog = v + (setDog_new_value)=>setDog = setDog_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) "); @@ -180,7 +180,7 @@ function setDog(newDog) { __turbopack_esm__({ "dogRef": [ ()=>dogRef, - (v)=>dogRef = v + (dogRef_new_value)=>dogRef = dogRef_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__8$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) "); @@ -222,7 +222,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "getChimera": [ ()=>getChimera, - (v)=>getChimera = v + (getChimera_new_value)=>getChimera = getChimera_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) "); @@ -259,7 +259,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "initialCat": [ ()=>initialCat, - (v)=>initialCat = v + (initialCat_new_value)=>initialCat = initialCat_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) "); diff --git a/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/crates_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_35ea42._.js b/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/crates_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_35ea42._.js index 6a1dbbb6d5274..80ebbce6b14e4 100644 --- a/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/crates_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_35ea42._.js +++ b/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/crates_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_35ea42._.js @@ -6,7 +6,7 @@ __turbopack_esm__({ "dog": [ ()=>dog, - (v)=>dog = v + (dog_new_value)=>dog = dog_new_value ] }); let dog = "dog"; @@ -139,7 +139,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "cat": [ ()=>cat, - (v)=>cat = v + (cat_new_value)=>cat = cat_new_value ] }); let cat = "cat"; @@ -165,7 +165,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "__TURBOPACK__reexport__cat__": [ ()=>__TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$export__cat$3e$__["cat"], - (v)=>$expr = v + (cat_new_value)=>$expr = cat_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$module__evaluation$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) "); @@ -194,7 +194,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "fakeCat": [ ()=>__TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$module$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$export__fakeCat$3e$__["fakeCat"], - (v)=>$expr = v + (fakeCat_new_value)=>$expr = fakeCat_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$module$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$module__evaluation$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/module.js [test] (ecmascript) "); diff --git a/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/79fb1_turbopack-tests_tests_snapshot_basic-tree-shake_export-namespace_input_c0eca6._.js b/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/79fb1_turbopack-tests_tests_snapshot_basic-tree-shake_export-namespace_input_c0eca6._.js index 594727e08542f..19f9688109e65 100644 --- a/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/79fb1_turbopack-tests_tests_snapshot_basic-tree-shake_export-namespace_input_c0eca6._.js +++ b/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/79fb1_turbopack-tests_tests_snapshot_basic-tree-shake_export-namespace_input_c0eca6._.js @@ -6,7 +6,7 @@ __turbopack_esm__({ "dog": [ ()=>dog, - (v)=>dog = v + (dog_new_value)=>dog = dog_new_value ] }); let dog = "dog"; @@ -139,7 +139,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "cat": [ ()=>cat, - (v)=>cat = v + (cat_new_value)=>cat = cat_new_value ] }); let cat = "cat"; @@ -165,7 +165,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "getDog": [ ()=>getDog, - (v)=>getDog = v + (getDog_new_value)=>getDog = getDog_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__8$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) "); @@ -186,7 +186,7 @@ function getDog() { __turbopack_esm__({ "setDog": [ ()=>setDog, - (v)=>setDog = v + (setDog_new_value)=>setDog = setDog_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) "); @@ -205,7 +205,7 @@ function setDog(newDog) { __turbopack_esm__({ "dogRef": [ ()=>dogRef, - (v)=>dogRef = v + (dogRef_new_value)=>dogRef = dogRef_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__8$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) "); @@ -247,7 +247,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "getChimera": [ ()=>getChimera, - (v)=>getChimera = v + (getChimera_new_value)=>getChimera = getChimera_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) "); @@ -284,7 +284,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "initialCat": [ ()=>initialCat, - (v)=>initialCat = v + (initialCat_new_value)=>initialCat = initialCat_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) "); @@ -361,7 +361,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "lib": [ ()=>__TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$module$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$export__lib$3e$__["lib"], - (v)=>$expr = v + (lib_new_value)=>$expr = lib_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$module$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$module__evaluation$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/module.js [test] (ecmascript) "); diff --git a/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/79fb1_turbopack-tests_tests_snapshot_basic-tree-shake_import-named-all_input_71b07f._.js b/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/79fb1_turbopack-tests_tests_snapshot_basic-tree-shake_import-named-all_input_71b07f._.js index e9109a2fa526e..e248c10921f67 100644 --- a/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/79fb1_turbopack-tests_tests_snapshot_basic-tree-shake_import-named-all_input_71b07f._.js +++ b/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/79fb1_turbopack-tests_tests_snapshot_basic-tree-shake_import-named-all_input_71b07f._.js @@ -6,7 +6,7 @@ __turbopack_esm__({ "dog": [ ()=>dog, - (v)=>dog = v + (dog_new_value)=>dog = dog_new_value ] }); let dog = "dog"; @@ -122,7 +122,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "cat": [ ()=>cat, - (v)=>cat = v + (cat_new_value)=>cat = cat_new_value ] }); let cat = "cat"; @@ -148,7 +148,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "c": [ ()=>__TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$export__cat$3e$__["cat"], - (v)=>$expr = v + (cat_new_value)=>$expr = cat_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$module__evaluation$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) "); diff --git a/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/crates_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_ed0d99._.js b/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/crates_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_ed0d99._.js index 20403fef71608..e4fa5f41d9e04 100644 --- a/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/crates_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_ed0d99._.js +++ b/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/crates_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_ed0d99._.js @@ -6,7 +6,7 @@ __turbopack_esm__({ "dog": [ ()=>dog, - (v)=>dog = v + (dog_new_value)=>dog = dog_new_value ] }); let dog = "dog"; @@ -122,7 +122,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "cat": [ ()=>cat, - (v)=>cat = v + (cat_new_value)=>cat = cat_new_value ] }); let cat = "cat"; @@ -148,7 +148,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "c": [ ()=>__TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$export__cat$3e$__["cat"], - (v)=>$expr = v + (cat_new_value)=>$expr = cat_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$module__evaluation$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) "); diff --git a/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/79fb1_turbopack-tests_tests_snapshot_basic-tree-shake_import-namespace_input_351ad1._.js b/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/79fb1_turbopack-tests_tests_snapshot_basic-tree-shake_import-namespace_input_351ad1._.js index 36d4578916199..0c9e388f95b4a 100644 --- a/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/79fb1_turbopack-tests_tests_snapshot_basic-tree-shake_import-namespace_input_351ad1._.js +++ b/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/79fb1_turbopack-tests_tests_snapshot_basic-tree-shake_import-namespace_input_351ad1._.js @@ -6,7 +6,7 @@ __turbopack_esm__({ "dog": [ ()=>dog, - (v)=>dog = v + (dog_new_value)=>dog = dog_new_value ] }); let dog = "dog"; @@ -122,7 +122,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "cat": [ ()=>cat, - (v)=>cat = v + (cat_new_value)=>cat = cat_new_value ] }); let cat = "cat"; @@ -148,7 +148,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "getDog": [ ()=>getDog, - (v)=>getDog = v + (getDog_new_value)=>getDog = getDog_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__8$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) "); @@ -169,7 +169,7 @@ function getDog() { __turbopack_esm__({ "setDog": [ ()=>setDog, - (v)=>setDog = v + (setDog_new_value)=>setDog = setDog_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) "); @@ -188,7 +188,7 @@ function setDog(newDog) { __turbopack_esm__({ "dogRef": [ ()=>dogRef, - (v)=>dogRef = v + (dogRef_new_value)=>dogRef = dogRef_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__8$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) "); @@ -230,7 +230,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "getChimera": [ ()=>getChimera, - (v)=>getChimera = v + (getChimera_new_value)=>getChimera = getChimera_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) "); @@ -267,7 +267,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "initialCat": [ ()=>initialCat, - (v)=>initialCat = v + (initialCat_new_value)=>initialCat = initialCat_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) "); diff --git a/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/79fb1_turbopack-tests_tests_snapshot_basic-tree-shake_import-side-effect_input_cdc49f._.js b/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/79fb1_turbopack-tests_tests_snapshot_basic-tree-shake_import-side-effect_input_cdc49f._.js index b7576d6613cb1..4520c00b83746 100644 --- a/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/79fb1_turbopack-tests_tests_snapshot_basic-tree-shake_import-side-effect_input_cdc49f._.js +++ b/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/79fb1_turbopack-tests_tests_snapshot_basic-tree-shake_import-side-effect_input_cdc49f._.js @@ -6,7 +6,7 @@ __turbopack_esm__({ "dog": [ ()=>dog, - (v)=>dog = v + (dog_new_value)=>dog = dog_new_value ] }); let dog = "dog"; diff --git a/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/a587c_tests_snapshot_basic-tree-shake_require-side-effect_input_6b5862._.js b/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/a587c_tests_snapshot_basic-tree-shake_require-side-effect_input_6b5862._.js index 0907b252734b2..4906936d78fff 100644 --- a/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/a587c_tests_snapshot_basic-tree-shake_require-side-effect_input_6b5862._.js +++ b/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/a587c_tests_snapshot_basic-tree-shake_require-side-effect_input_6b5862._.js @@ -6,7 +6,7 @@ __turbopack_esm__({ "dog": [ ()=>dog, - (v)=>dog = v + (dog_new_value)=>dog = dog_new_value ] }); let dog = "dog"; @@ -114,7 +114,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "cat": [ ()=>cat, - (v)=>cat = v + (cat_new_value)=>cat = cat_new_value ] }); let cat = "cat"; @@ -140,7 +140,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "getDog": [ ()=>getDog, - (v)=>getDog = v + (getDog_new_value)=>getDog = getDog_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__8$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) "); @@ -161,7 +161,7 @@ function getDog() { __turbopack_esm__({ "setDog": [ ()=>setDog, - (v)=>setDog = v + (setDog_new_value)=>setDog = setDog_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) "); @@ -180,7 +180,7 @@ function setDog(newDog) { __turbopack_esm__({ "dogRef": [ ()=>dogRef, - (v)=>dogRef = v + (dogRef_new_value)=>dogRef = dogRef_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__8$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) "); @@ -222,7 +222,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "getChimera": [ ()=>getChimera, - (v)=>getChimera = v + (getChimera_new_value)=>getChimera = getChimera_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) "); @@ -259,7 +259,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "initialCat": [ ()=>initialCat, - (v)=>initialCat = v + (initialCat_new_value)=>initialCat = initialCat_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) "); diff --git a/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/a587c_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_87c735.js b/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/a587c_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_87c735.js index 9744f84fd5537..321980f900c42 100644 --- a/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/a587c_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_87c735.js +++ b/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/a587c_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_87c735.js @@ -6,7 +6,7 @@ __turbopack_esm__({ "dog": [ ()=>dog, - (v)=>dog = v + (dog_new_value)=>dog = dog_new_value ] }); let dog = "dog"; @@ -114,7 +114,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "cat": [ ()=>cat, - (v)=>cat = v + (cat_new_value)=>cat = cat_new_value ] }); let cat = "cat"; @@ -140,7 +140,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "getDog": [ ()=>getDog, - (v)=>getDog = v + (getDog_new_value)=>getDog = getDog_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__8$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) "); @@ -161,7 +161,7 @@ function getDog() { __turbopack_esm__({ "setDog": [ ()=>setDog, - (v)=>setDog = v + (setDog_new_value)=>setDog = setDog_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) "); @@ -180,7 +180,7 @@ function setDog(newDog) { __turbopack_esm__({ "dogRef": [ ()=>dogRef, - (v)=>dogRef = v + (dogRef_new_value)=>dogRef = dogRef_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__8$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) "); @@ -222,7 +222,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "getChimera": [ ()=>getChimera, - (v)=>getChimera = v + (getChimera_new_value)=>getChimera = getChimera_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) "); @@ -259,7 +259,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests __turbopack_esm__({ "initialCat": [ ()=>initialCat, - (v)=>initialCat = v + (initialCat_new_value)=>initialCat = initialCat_new_value ] }); var __TURBOPACK__imported__module__$5b$project$5d2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__ = __turbopack_import__("[project]/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ");