PeerTube/scripts/build/peertube-runner.sh

14 lines
319 B
Bash
Raw Normal View History

2023-04-21 08:05:27 -05:00
#!/bin/bash
set -eu
cd ./packages/peertube-runner
rm -rf ./dist
../../node_modules/.bin/tsc -b --verbose
rm -rf ./dist
mkdir ./dist
2023-05-09 03:00:52 -05:00
./node_modules/.bin/esbuild ./peertube-runner.ts --bundle --platform=node --target=node16 --external:"./lib-cov/fluent-ffmpeg" --external:pg-hstore --outfile=dist/peertube-runner.js