deno
1117d2db - compat: support compat mode in REPL (#12882)

Commit
4 years ago
compat: support compat mode in REPL (#12882) This commit introduces "ProcState::maybe_resolver" field, which stores a single instance of resolver for the whole lifetime of the process, instead of creating these resolvers for each creation of module graph. As a result, this resolver can be used in fallback case where graph is not constructed (REPL, loading modules using "require") unifying resolution logic.
Author
Parents
Loading