From 6fb270e4f8d8ed5c8a0367fb47ea59463b0bfade Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Sun, 16 Mar 2025 01:17:46 +0100 Subject: [PATCH] build(copy-dist): copy over existing node_modules helps avoiding downloading the packages a 2nd time during our prune stage --- bin/copy-dist.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/copy-dist.ts b/bin/copy-dist.ts index 2505c31c3..6d9fcf0e0 100644 --- a/bin/copy-dist.ts +++ b/bin/copy-dist.ts @@ -15,6 +15,7 @@ function log(...args: any[]) { try { const assetsToCopy = new Set([ + // copy node_module, to avoid downloading packages a 2nd time during pruning "./node_modules", "./images", "./libraries",