mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
[perf] use npm ci --only=production for all but web
This commit is contained in:
@@ -8,7 +8,15 @@ grep 'name:' config/services.js | \
|
||||
do
|
||||
pushd $service
|
||||
echo "Installing service $service"
|
||||
npm ci
|
||||
case $service in
|
||||
web)
|
||||
# install webpack and friends from dev-dependencies.
|
||||
npm ci
|
||||
;;
|
||||
*)
|
||||
npm ci --only=production
|
||||
;;
|
||||
esac
|
||||
popd
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user