Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Aug 17, 2023
1 parent c380e39 commit 0632cdd
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions scripts/build/index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 0632cdd

Please sign in to comment.