summaryrefslogtreecommitdiff
path: root/cli/tools/repl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tools/repl.rs')
-rw-r--r--cli/tools/repl.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/tools/repl.rs b/cli/tools/repl.rs
index f3ba626af..b6874f574 100644
--- a/cli/tools/repl.rs
+++ b/cli/tools/repl.rs
@@ -668,8 +668,11 @@ impl ReplSession {
imports_not_used_as_values: ImportsNotUsedAsValues::Preserve,
// JSX is not supported in the REPL
transform_jsx: false,
+ jsx_automatic: false,
+ jsx_development: false,
jsx_factory: "React.createElement".into(),
jsx_fragment_factory: "React.Fragment".into(),
+ jsx_import_source: None,
repl_imports: true,
},
)?