diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2021-06-24 09:00:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-24 09:00:46 -0400 |
commit | 4b3845b998ae2f7cd6e02625b4cfc3613878ceb2 (patch) | |
tree | 8b56e3e89cdf8977b5b5ceaa27e571ad157ce3c0 /cli/tools/repl.rs | |
parent | 8ed83cba7e2eeabb3af1fd65579dacd782f50644 (diff) |
feat(repl): support import declarations in the REPL (#11086)
Diffstat (limited to 'cli/tools/repl.rs')
-rw-r--r-- | cli/tools/repl.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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; |