From 93e1b3c7050f663d6f8086e838c063b33ea3b37b Mon Sep 17 00:00:00 2001 From: OJ Kwon <1210596+kwonoj@users.noreply.github.com> Date: Thu, 15 Jun 2023 10:07:03 -0700 Subject: [PATCH] fix(turbopack): enable runtime flag (vercel/turbo#5253) ### Description Minor fix to enable features. --- crates/turbopack-ecmascript-plugins/Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crates/turbopack-ecmascript-plugins/Cargo.toml b/crates/turbopack-ecmascript-plugins/Cargo.toml index 61f6ca4b61f2c..04780b3de165b 100644 --- a/crates/turbopack-ecmascript-plugins/Cargo.toml +++ b/crates/turbopack-ecmascript-plugins/Cargo.toml @@ -10,9 +10,13 @@ autobenches = false bench = false [features] +default = ["swc_ecma_transform_plugin"] transform_emotion = [] # [NOTE]: Be careful to explicitly enable this only for the supported platform / targets. -swc_ecma_transform_plugin = ["swc_core/plugin_transform_host_native"] +swc_ecma_transform_plugin = [ + "swc_core/plugin_transform_host_native", + "swc_core/plugin_transform_host_native_shared_runtime", +] [dependencies] anyhow = { workspace = true }