diff --git a/deno b/deno index 038d5a5..354880e 160000 --- a/deno +++ b/deno @@ -1 +1 @@ -Subproject commit 038d5a5331abbbdb1c951dc7c6e8e7400671f4e2 +Subproject commit 354880e49dd34e53158b9166890e51b45207194c diff --git a/src/rs_lib/lib.rs b/src/rs_lib/lib.rs index 1c06892..7440a1f 100644 --- a/src/rs_lib/lib.rs +++ b/src/rs_lib/lib.rs @@ -484,6 +484,11 @@ impl DenoLoader { parser: &DefaultEsParser, }; let mut graph = self.graph.deep_clone(); + if graph.roots.is_empty() { + if let Some(lockfile) = lockfile { + lockfile.fill_graph(&mut graph); + } + } graph .build( entrypoints,