mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
refactor(npm): add CliNodeResolver (#18742)
This commit is contained in:
parent
559a61b879
commit
d2d62b6312
16 changed files with 474 additions and 442 deletions
|
@ -2763,7 +2763,7 @@ fn op_resolve(
|
|||
let resolved = state.state_snapshot.documents.resolve(
|
||||
args.specifiers,
|
||||
&referrer_doc,
|
||||
state.state_snapshot.maybe_npm_resolver.as_ref(),
|
||||
state.state_snapshot.maybe_node_resolver.as_ref(),
|
||||
);
|
||||
Ok(
|
||||
resolved
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue