diff options
author | Chocobozzz <me@florianbigard.com> | 2022-01-03 17:13:11 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-01-06 08:26:14 +0100 |
commit | f8360396ffabd2f95e9ece9c5755173bae0114b6 (patch) | |
tree | 83467f70bb5d5c2faa61c45e1d87b538c6c8fe5e /scripts/build/server.sh | |
parent | cea093bca5b9d311b5c1d0539d53e965c901015b (diff) | |
download | PeerTube-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-x | scripts/build/server.sh | 6 |
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 | |||
5 | rm -rf ./dist | 5 | rm -rf ./dist |
6 | 6 | ||
7 | npm run tsc -- -b --verbose | 7 | npm run tsc -- -b --verbose |
8 | cp "./tsconfig.base.json" "./tsconfig.json" "./dist/" | 8 | npm run resolve-tspaths:server |
9 | cp "./scripts/tsconfig.json" "./dist/scripts/" | 9 | |
10 | cp "./server/tsconfig.json" "./dist/server/" | ||
11 | cp "./shared/tsconfig.json" "./dist/shared/" | ||
12 | cp -r "./server/static" "./server/assets" "./dist/server" | 10 | cp -r "./server/static" "./server/assets" "./dist/server" |
13 | cp -r "./server/lib/emails" "./dist/server/lib" | 11 | cp -r "./server/lib/emails" "./dist/server/lib" |