aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build/client.sh
diff options
context:
space:
mode:
authorkontrollanten <6680299+kontrollanten@users.noreply.github.com>2020-12-15 09:49:24 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-01-13 09:10:52 +0100
commit75dd1b641f987e1e09dbaa3329e08c6e98a858f3 (patch)
tree97e3b06514626aa20115663bd12d3dd5d2141bb8 /scripts/build/client.sh
parentdfdd158a75d91208a8444a8bad1663ca3bafe299 (diff)
downloadPeerTube-75dd1b641f987e1e09dbaa3329e08c6e98a858f3.tar.gz
PeerTube-75dd1b641f987e1e09dbaa3329e08c6e98a858f3.tar.zst
PeerTube-75dd1b641f987e1e09dbaa3329e08c6e98a858f3.zip
chore: add manifest in light build
Diffstat (limited to 'scripts/build/client.sh')
-rwxr-xr-xscripts/build/client.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh
index 68939290c..e6f14a4e2 100755
--- a/scripts/build/client.sh
+++ b/scripts/build/client.sh
@@ -57,7 +57,6 @@ if [ -z ${1+x} ] || ([ "$1" != "--light" ] && [ "$1" != "--analyze-bundle" ]); t
57 done 57 done
58 58
59 mv "./dist/$defaultLanguage/assets" "./dist" 59 mv "./dist/$defaultLanguage/assets" "./dist"
60 mv "./dist/$defaultLanguage/manifest.webmanifest" "./dist/manifest.webmanifest"
61 60
62 rmdir "dist/build" 61 rmdir "dist/build"
63else 62else
@@ -70,6 +69,7 @@ else
70 npm run ng build -- --localize=false --output-path "dist/$defaultLanguage/" --deploy-url "/client/$defaultLanguage/" --prod --stats-json $additionalParams 69 npm run ng build -- --localize=false --output-path "dist/$defaultLanguage/" --deploy-url "/client/$defaultLanguage/" --prod --stats-json $additionalParams
71fi 70fi
72 71
72mv "./dist/$defaultLanguage/manifest.webmanifest" "./dist/manifest.webmanifest"
73mv "./dist/$defaultLanguage/ngsw-worker.js" "./dist/" 73mv "./dist/$defaultLanguage/ngsw-worker.js" "./dist/"
74 74
75cd ../ && npm run build:embed && cd client/ 75cd ../ && npm run build:embed && cd client/