mirror of
https://github.com/denoland/deno.git
synced 2024-10-31 09:14:20 -04: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 |