aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build/server.sh
blob: 2ec83a3e1ade0d224febf287e09e4236caf1a8ad (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/bash

set -eu

rm -rf ./dist

npm run tsc
cp "./tsconfig.json" "./dist"
cp -r "./server/static" "./server/assets" "./dist/server"