f8360396ff
Prefer to replace paths at compile time
11 lines
203 B
Bash
Executable file
11 lines
203 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
rm -rf ./dist
|
|
|
|
npm run tsc -- -b --verbose
|
|
npm run resolve-tspaths:server
|
|
|
|
cp -r "./server/static" "./server/assets" "./dist/server"
|
|
cp -r "./server/lib/emails" "./dist/server/lib"
|