Skip to content

Commit

Permalink
fix(turbopack): enable runtime flag
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonoj committed Jun 8, 2023
1 parent 6cb4aec commit b07e0c4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/turbopack-ecmascript-plugins/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit b07e0c4

Please sign in to comment.