1
0
Fork 0
peertube/scripts/build/server.sh
Chocobozzz f8360396ff
Stop using tsconfig register
Prefer to replace paths at compile time
2022-01-06 08:26:14 +01:00

11 lines
203 B
Bash
Executable file

#!/bin/bash
set -eu
rm -rf ./dist
npm run tsc -- -b --verbose
npm run resolve-tspaths:server
cp -r "./server/static" "./server/assets" "./dist/server"
cp -r "./server/lib/emails" "./dist/server/lib"