mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
1117d2db39
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. |
||
---|---|---|
.. | ||
testdata | ||
errors.rs | ||
esm_resolver.rs | ||
mod.rs |