diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-11-29 09:32:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-29 09:32:23 -0500 |
commit | 9ac405d587ca1465debd4a65a09324b7a6b2c04f (patch) | |
tree | b3cc4adb3ddf06dc5d380c39f9e8a82c24b25655 /cli/npm/mod.rs | |
parent | 7e56a0466fc9964ca5dd3533bb65c00cd1bac4dc (diff) |
feat(compile): support "bring your own node_modules" in deno compile (#21377)
Not tested thoroughly. This is a good start.
Closes #21350
Diffstat (limited to 'cli/npm/mod.rs')
-rw-r--r-- | cli/npm/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<PathBuf>; + fn root_node_modules_path(&self) -> Option<&PathBuf>; fn resolve_pkg_folder_from_deno_module_req( &self, |