diff options
| author | Divy Srivastava <dj.srivastava23@gmail.com> | 2024-02-13 21:52:30 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-13 21:52:30 +0530 |
| commit | a68eb3fcc3997fce8680f87edce46f6450e79635 (patch) | |
| tree | 6839607033226fdfb2ce1be3187ef93791096507 /cli/standalone/mod.rs | |
| parent | 492a9fbb9194a24a1f9223f797b4f4df9efde2bd (diff) | |
feat: denort binary for `deno compile` (#22205)
This introduces the `denort` binary - a slim version of deno without
tooling. The binary is used as the default for `deno compile`.
Improves `deno compile` final size by ~2.5x (141 MB -> 61 MB) on Linux
x86_64.
Diffstat (limited to 'cli/standalone/mod.rs')
| -rw-r--r-- | cli/standalone/mod.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cli/standalone/mod.rs b/cli/standalone/mod.rs index e25b61c31..ecbb0be82 100644 --- a/cli/standalone/mod.rs +++ b/cli/standalone/mod.rs @@ -55,7 +55,7 @@ use import_map::parse_from_json; use std::rc::Rc; use std::sync::Arc; -mod binary; +pub mod binary; mod file_system; mod virtual_fs; @@ -520,7 +520,6 @@ pub async fn run( None, None, None, - None, feature_checker, CliMainWorkerOptions { argv: metadata.argv, @@ -548,6 +547,8 @@ pub async fn run( .unsafely_ignore_certificate_errors, unstable: metadata.unstable_config.legacy_flag_enabled, maybe_root_package_json_deps: package_json_deps_provider.deps().cloned(), + create_hmr_runner: None, + create_coverage_collector: None, }, None, // TODO(bartlomieju): temporarily disabled |
