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 --external:"./lib-cov/fluent-ffmpeg" --external:pg-hstore --outfile=dist/peertube-runner.js