]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/build/server.sh
Stop using tsconfig register
[github/Chocobozzz/PeerTube.git] / scripts / build / server.sh
index 865bdd095d3ec593691870975af48b119cad5553..a2dfc3dd9c8d981b35c853c946721b26b0e48e92 100755 (executable)
@@ -5,9 +5,7 @@ set -eu
 rm -rf ./dist
 
 npm run tsc -- -b --verbose
-cp "./tsconfig.base.json" "./tsconfig.json" "./dist/"
-cp "./scripts/tsconfig.json" "./dist/scripts/"
-cp "./server/tsconfig.json" "./dist/server/"
-cp "./shared/tsconfig.json" "./dist/shared/"
+npm run resolve-tspaths:server
+
 cp -r "./server/static" "./server/assets" "./dist/server"
 cp -r "./server/lib/emails" "./dist/server/lib"