From 4b3845b998ae2f7cd6e02625b4cfc3613878ceb2 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 24 Jun 2021 09:00:46 -0400 Subject: feat(repl): support import declarations in the REPL (#11086) --- cli/tools/repl.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'cli/tools/repl.rs') diff --git a/cli/tools/repl.rs b/cli/tools/repl.rs index 891b2425d..957d60b66 100644 --- a/cli/tools/repl.rs +++ b/cli/tools/repl.rs @@ -591,6 +591,7 @@ impl ReplSession { transform_jsx: false, jsx_factory: "React.createElement".into(), jsx_fragment_factory: "React.Fragment".into(), + repl_imports: true, })? .0; -- cgit v1.2.3