diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-06-06 17:07:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-06 17:07:46 -0400 |
commit | 2aba4365ae620a8f097800e7cf85ff86f566b69a (patch) | |
tree | 5e3e9b30742455c72f2edc3fa5db0b7cbabe46e8 /cli/tools/vendor/mod.rs | |
parent | 455b0eb8bb8445f80d9c80a9161f18c1dede5733 (diff) |
perf(cli): conditionally load typescript declaration files (#19392)
Closes #18583
Diffstat (limited to 'cli/tools/vendor/mod.rs')
-rw-r--r-- | cli/tools/vendor/mod.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cli/tools/vendor/mod.rs b/cli/tools/vendor/mod.rs index 5690f5b22..61ada605c 100644 --- a/cli/tools/vendor/mod.rs +++ b/cli/tools/vendor/mod.rs @@ -10,6 +10,7 @@ use deno_core::anyhow::bail; use deno_core::anyhow::Context; use deno_core::error::AnyError; use deno_core::resolve_url_or_path; +use deno_graph::GraphKind; use log::warn; use crate::args::CliOptions; @@ -371,7 +372,9 @@ async fn create_graph( .map(|p| resolve_url_or_path(p, initial_cwd)) .collect::<Result<Vec<_>, _>>()?; - module_graph_builder.create_graph(entry_points).await + module_graph_builder + .create_graph(GraphKind::All, entry_points) + .await } #[cfg(test)] |