index.sh 225 B

123456789101112
  1. #!/bin/bash
  2. set -eu
  3. npm run build:server
  4. # Angular does not support project references, it's the reason why we can't builds concurrently
  5. if [ ! -z ${1+x} ]; then
  6. npm run build:client -- $1
  7. else
  8. npm run build:client
  9. fi