Fix build

This commit is contained in:
Chocobozzz 2023-08-17 09:24:45 +02:00
parent c380e39285
commit 0632cdda04
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -2,12 +2,11 @@
set -eu
if [ ! -z ${1+x} ]; then
clientCommand="npm run build:client -- $1"
else
clientCommand="npm run build:client"
fi
npm run build:server
npm run concurrently -- --raw \
"$clientCommand" \
"npm run build:server"
# Angular does not support project references, it's the reason why we can't builds concurrently
if [ ! -z ${1+x} ]; then
npm run build:client -- $1
else
npm run build:client
fi