summaryrefslogtreecommitdiff
path: root/cli/graph_util.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-04-18 21:43:28 -0400
committerGitHub <noreply@github.com>2024-04-19 01:43:28 +0000
commitc497e766f1a136c674d8be2467eb103c85fe1d44 (patch)
treea6b84f9950f2bdca734d8d402b60d44f99605965 /cli/graph_util.rs
parent8e77f091ad9b1f8b3dc2eaf8b4a2be2560a67354 (diff)
refactor: move redirect handling into deno_graph (#23444)
Diffstat (limited to 'cli/graph_util.rs')
-rw-r--r--cli/graph_util.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/graph_util.rs b/cli/graph_util.rs
index 8f0790605..8d78da3ed 100644
--- a/cli/graph_util.rs
+++ b/cli/graph_util.rs
@@ -451,17 +451,17 @@ impl ModuleGraphBuilder {
options.roots,
loader.as_mut_loader(),
deno_graph::BuildOptions {
+ imports: maybe_imports,
is_dynamic: options.is_dynamic,
- jsr_url_provider: &CliJsrUrlProvider,
passthrough_jsr_specifiers: false,
+ workspace_members: &workspace_members,
executor: Default::default(),
- imports: maybe_imports,
- resolver: Some(graph_resolver),
file_system: &DenoGraphFsAdapter(self.fs.as_ref()),
+ jsr_url_provider: &CliJsrUrlProvider,
npm_resolver: Some(graph_npm_resolver),
module_analyzer: &analyzer,
reporter: maybe_file_watcher_reporter,
- workspace_members: &workspace_members,
+ resolver: Some(graph_resolver),
},
)
.await