]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - scripts/build/server.sh
Fix embed margin in share modal
[github/Chocobozzz/PeerTube.git] / scripts / build / server.sh
1 #!/bin/bash
2
3 set -eu
4
5 rm -rf ./dist
6
7 npm run tsc -- -b --verbose
8 npm run resolve-tspaths:server
9
10 cp -r "./server/static" "./server/assets" "./dist/server"
11 cp -r "./server/lib/emails" "./dist/server/lib"