aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build/index.sh
blob: 09e6f11ade27c80f156bc75bfb65a68322eb17d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

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
  npm run build:client -- $1
else
  npm run build:client
fi