From 366e791e2d74237eaff11bfebc98712e7bbca186 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 20 Jul 2024 20:19:38 +0300 Subject: [PATCH] build: Use--omit=dev --- bin/copy-trilium.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/copy-trilium.sh b/bin/copy-trilium.sh index 2936a925b..b58f8cef6 100755 --- a/bin/copy-trilium.sh +++ b/bin/copy-trilium.sh @@ -40,7 +40,7 @@ cp -Rv "$script_dir/../build/src" "$DIR" cp "$script_dir/../build/electron.js" "$DIR" # run in subshell (so we return to original dir) -(cd $DIR && npm install --only=prod) +(cd $DIR && npm install --omit=dev) if [[ -d "$DIR"/node_modules ]]; then # cleanup of useless files in dependencies