From 0632cdda04cdc3672de9a71b16c67267e420953f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 17 Aug 2023 09:24:45 +0200 Subject: Fix build --- scripts/build/index.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/scripts/build/index.sh b/scripts/build/index.sh index bf6ad48eb..09e6f11ad 100755 --- a/scripts/build/index.sh +++ b/scripts/build/index.sh @@ -2,12 +2,11 @@ set -eu +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 - clientCommand="npm run build:client -- $1" + npm run build:client -- $1 else - clientCommand="npm run build:client" + npm run build:client fi - -npm run concurrently -- --raw \ - "$clientCommand" \ - "npm run build:server" -- cgit v1.2.3