build(copy-dist): copy over existing node_modules

helps avoiding downloading the packages a 2nd time during our prune stage
This commit is contained in:
Panagiotis Papadopoulos 2025-03-16 01:17:46 +01:00
parent 8977492981
commit 6fb270e4f8

View File

@ -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",