mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
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:
parent
8977492981
commit
6fb270e4f8
@ -15,6 +15,7 @@ function log(...args: any[]) {
|
|||||||
try {
|
try {
|
||||||
|
|
||||||
const assetsToCopy = new Set([
|
const assetsToCopy = new Set([
|
||||||
|
// copy node_module, to avoid downloading packages a 2nd time during pruning
|
||||||
"./node_modules",
|
"./node_modules",
|
||||||
"./images",
|
"./images",
|
||||||
"./libraries",
|
"./libraries",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user