2
1

index.sh 218 B

12345678910111213
  1. #!/bin/bash
  2. set -eu
  3. if [ ! -z ${1+x} ]; then
  4. clientCommand="npm run build:client -- $1"
  5. else
  6. clientCommand="npm run build:client"
  7. fi
  8. npm run concurrently -- --raw \
  9. "$clientCommand" \
  10. "npm run build:server"