Skip to content

Build your personal knowledge base with Trilium Notes

build: Use--omit=dev

Elian Doran366e791e2d74
diff --git a/bin/copy-trilium.sh b/bin/copy-trilium.sh
index 2936a925b3..b58f8cef6c 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