diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-08-22 12:14:59 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-22 12:14:59 -0400 |
commit | 7a1a082876298a4c9e37237074ea62942180d083 (patch) | |
tree | 690b46889987a9f576a1b0601a322141b51b0660 /cli/tools/vendor/mod.rs | |
parent | c66386dbd20b735161017a239c6af013da1f1718 (diff) |
perf: cache swc dependency analysis and don't hold onto `ParsedSource`s in memory (#15502)
Diffstat (limited to 'cli/tools/vendor/mod.rs')
-rw-r--r-- | cli/tools/vendor/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tools/vendor/mod.rs b/cli/tools/vendor/mod.rs index a81965a15..05fee531a 100644 --- a/cli/tools/vendor/mod.rs +++ b/cli/tools/vendor/mod.rs @@ -45,6 +45,7 @@ pub async fn vendor( let graph = create_graph(&ps, &vendor_flags).await?; let vendored_count = build::build( graph, + &ps.parsed_source_cache, &output_dir, ps.maybe_import_map.as_deref(), &build::RealVendorEnvironment, |