aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build/peertube-runner.sh
blob: 7f6ad5eded56745ac70977a8c19f8a7f570d0b48 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

set -eu


cd ./packages/peertube-runner
rm -rf ./dist

../../node_modules/.bin/tsc -b --verbose
rm -rf ./dist
mkdir ./dist

./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