PeerTube/scripts/build/peertube-runner.sh

14 lines
319 B
Bash
Raw Normal View History

2023-04-21 15:05:27 +02: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 10:00:52 +02: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