mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
build: Use--omit=dev
This commit is contained in:
parent
d570b3c428
commit
366e791e2d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user