mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-11 16:49:44 +01:00
15 lines
335 B
Bash
Executable File
15 lines
335 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
OUT_DIR=./build-contest
|
|
|
|
rm -rf ${OUT_DIR};
|
|
mkdir -p ${OUT_DIR};
|
|
|
|
npm run build -- --output-path=${OUT_DIR}/dist/ --env.noSourceMap
|
|
./deploy/copy_to_dist.sh ${OUT_DIR}/dist/
|
|
|
|
npm run build -- --output-path=${OUT_DIR}/src/ --env.noMinify
|
|
rm ${OUT_DIR}/src/index.html
|
|
./deploy/copy_to_dist.sh ${OUT_DIR}/src/
|