aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/client.sh2
-rwxr-xr-xscripts/build/embed.sh5
-rwxr-xr-xscripts/build/index.sh7
3 files changed, 13 insertions, 1 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh
index 2518702cf..fd9190660 100755
--- a/scripts/build/client.sh
+++ b/scripts/build/client.sh
@@ -62,7 +62,7 @@ if [ -z ${1+x} ] || [ "$1" != "--light" ]; then
62 done 62 done
63fi 63fi
64 64
65NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js --mode production --json > "./dist/embed-stats.json" 65npm run build:embed
66 66
67# Copy runtime locales 67# Copy runtime locales
68cp -r "./src/locale" "./dist/locale" 68cp -r "./src/locale" "./dist/locale"
diff --git a/scripts/build/embed.sh b/scripts/build/embed.sh
new file mode 100755
index 000000000..ea5e7d57d
--- /dev/null
+++ b/scripts/build/embed.sh
@@ -0,0 +1,5 @@
1#!/bin/sh
2
3set -eu
4
5NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js --mode production --json > "./dist/embed-stats.json"
diff --git a/scripts/build/index.sh b/scripts/build/index.sh
new file mode 100755
index 000000000..fde6efe32
--- /dev/null
+++ b/scripts/build/index.sh
@@ -0,0 +1,7 @@
1#!/bin/sh
2
3set -eu
4
5npm run concurrently -- -k \
6 "npm run build:client" \
7 "npm run build:server"