summaryrefslogtreecommitdiff
path: root/cli/factory.rs
diff options
context:
space:
mode:
authorawait-ovo <13152410380@163.com>2023-09-19 04:02:58 +0800
committerGitHub <noreply@github.com>2023-09-18 20:02:58 +0000
commitdc1da309274823c15ad8ade0545678f8a9b8e54d (patch)
tree95514a8d53c3bcea02f07ac995946c68e5a37fa6 /cli/factory.rs
parentf5963b6a0595810c0e4b6da793ce0d50a9944796 (diff)
fix(cli): for main-module that exists in package.json, use the version defined in package.json directly (#20328)
Diffstat (limited to 'cli/factory.rs')
-rw-r--r--cli/factory.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/factory.rs b/cli/factory.rs
index 42d98e234..28788093b 100644
--- a/cli/factory.rs
+++ b/cli/factory.rs
@@ -684,6 +684,7 @@ impl CliFactory {
.unsafely_ignore_certificate_errors()
.clone(),
unstable: self.options.unstable(),
+ maybe_package_json_deps: self.options.maybe_package_json_deps(),
})
}
}