diff options
Diffstat (limited to 'scripts/build/index.sh')
-rwxr-xr-x | scripts/build/index.sh | 11 |
1 files 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 @@ | |||
2 | 2 | ||
3 | set -eu | 3 | set -eu |
4 | 4 | ||
5 | npm run build:server | ||
6 | |||
7 | # Angular does not support project references, it's the reason why we can't builds concurrently | ||
5 | if [ ! -z ${1+x} ]; then | 8 | if [ ! -z ${1+x} ]; then |
6 | clientCommand="npm run build:client -- $1" | 9 | npm run build:client -- $1 |
7 | else | 10 | else |
8 | clientCommand="npm run build:client" | 11 | npm run build:client |
9 | fi | 12 | fi |
10 | |||
11 | npm run concurrently -- --raw \ | ||
12 | "$clientCommand" \ | ||
13 | "npm run build:server" | ||