Files
SolTube/scripts/build/index.sh
ShreejitPanchal 6601501eff Init commit
2026-05-19 19:56:02 +08:00

13 lines
225 B
Bash

#!/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