Skip to content

Commit

Permalink
fix(turbopack): enable runtime flag (vercel/turborepo#5253)
Browse files Browse the repository at this point in the history
### Description

Minor fix to enable features.
  • Loading branch information
kwonoj authored Jun 15, 2023
1 parent f27b67f commit 93e1b3c
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 93e1b3c

Please sign in to comment.