From 9ac405d587ca1465debd4a65a09324b7a6b2c04f Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 29 Nov 2023 09:32:23 -0500 Subject: feat(compile): support "bring your own node_modules" in deno compile (#21377) Not tested thoroughly. This is a good start. Closes #21350 --- cli/npm/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/npm/mod.rs') diff --git a/cli/npm/mod.rs b/cli/npm/mod.rs index f4ea08186..474f493d5 100644 --- a/cli/npm/mod.rs +++ b/cli/npm/mod.rs @@ -75,7 +75,7 @@ pub trait CliNpmResolver: NpmResolver { } } - fn root_node_modules_path(&self) -> Option; + fn root_node_modules_path(&self) -> Option<&PathBuf>; fn resolve_pkg_folder_from_deno_module_req( &self, -- cgit v1.2.3