From f8360396ffabd2f95e9ece9c5755173bae0114b6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 3 Jan 2022 17:13:11 +0100 Subject: Stop using tsconfig register Prefer to replace paths at compile time --- scripts/setup/cli.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'scripts/setup') diff --git a/scripts/setup/cli.sh b/scripts/setup/cli.sh index d0ad2ec5f..f84260f23 100755 --- a/scripts/setup/cli.sh +++ b/scripts/setup/cli.sh @@ -9,8 +9,10 @@ rm -rf ./dist/server/tools/ ( cd ./server/tools yarn install --pure-lockfile + ../../node_modules/.bin/tsc --build --verbose ) -npm run tsc -- --build --verbose ./server/tools/tsconfig.json cp -r "./server/tools/node_modules" "./dist/server/tools" -cp "./tsconfig.json" "./dist" + +npm run resolve-tspaths:cli +npm run resolve-tspaths:server -- cgit v1.2.3