aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build/server.sh
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-01-03 17:13:11 +0100
committerChocobozzz <me@florianbigard.com>2022-01-06 08:26:14 +0100
commitf8360396ffabd2f95e9ece9c5755173bae0114b6 (patch)
tree83467f70bb5d5c2faa61c45e1d87b538c6c8fe5e /scripts/build/server.sh
parentcea093bca5b9d311b5c1d0539d53e965c901015b (diff)
downloadPeerTube-f8360396ffabd2f95e9ece9c5755173bae0114b6.tar.gz
PeerTube-f8360396ffabd2f95e9ece9c5755173bae0114b6.tar.zst
PeerTube-f8360396ffabd2f95e9ece9c5755173bae0114b6.zip
Stop using tsconfig register
Prefer to replace paths at compile time
Diffstat (limited to 'scripts/build/server.sh')
-rwxr-xr-xscripts/build/server.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/build/server.sh b/scripts/build/server.sh
index 865bdd095..a2dfc3dd9 100755
--- a/scripts/build/server.sh
+++ b/scripts/build/server.sh
@@ -5,9 +5,7 @@ set -eu
5rm -rf ./dist 5rm -rf ./dist
6 6
7npm run tsc -- -b --verbose 7npm run tsc -- -b --verbose
8cp "./tsconfig.base.json" "./tsconfig.json" "./dist/" 8npm run resolve-tspaths:server
9cp "./scripts/tsconfig.json" "./dist/scripts/" 9
10cp "./server/tsconfig.json" "./dist/server/"
11cp "./shared/tsconfig.json" "./dist/shared/"
12cp -r "./server/static" "./server/assets" "./dist/server" 10cp -r "./server/static" "./server/assets" "./dist/server"
13cp -r "./server/lib/emails" "./dist/server/lib" 11cp -r "./server/lib/emails" "./dist/server/lib"