aboutsummaryrefslogtreecommitdiff
path: root/src/feature_flags.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature_flags.zig')
-rw-r--r--src/feature_flags.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature_flags.zig b/src/feature_flags.zig
index 679ce2831..d61decd06 100644
--- a/src/feature_flags.zig
+++ b/src/feature_flags.zig
@@ -58,7 +58,7 @@ pub const CSSInJSImportBehavior = enum {
pub const remote_inspector = false;
pub const auto_import_buffer = false;
-pub const is_macro_enabled = true;
+pub const is_macro_enabled = !env.isWasm and !env.isWasi;
// pretend everything is always the macro environment
// useful for debugging the macro's JSX transform