diff options
author | kontrollanten <6680299+kontrollanten@users.noreply.github.com> | 2020-12-15 09:49:24 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-01-13 09:10:52 +0100 |
commit | 75dd1b641f987e1e09dbaa3329e08c6e98a858f3 (patch) | |
tree | 97e3b06514626aa20115663bd12d3dd5d2141bb8 /scripts/build | |
parent | dfdd158a75d91208a8444a8bad1663ca3bafe299 (diff) | |
download | PeerTube-75dd1b641f987e1e09dbaa3329e08c6e98a858f3.tar.gz PeerTube-75dd1b641f987e1e09dbaa3329e08c6e98a858f3.tar.zst PeerTube-75dd1b641f987e1e09dbaa3329e08c6e98a858f3.zip |
chore: add manifest in light build
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build/client.sh | 2 |
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" |
63 | else | 62 | else |
@@ -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 |
71 | fi | 70 | fi |
72 | 71 | ||
72 | mv "./dist/$defaultLanguage/manifest.webmanifest" "./dist/manifest.webmanifest" | ||
73 | mv "./dist/$defaultLanguage/ngsw-worker.js" "./dist/" | 73 | mv "./dist/$defaultLanguage/ngsw-worker.js" "./dist/" |
74 | 74 | ||
75 | cd ../ && npm run build:embed && cd client/ | 75 | cd ../ && npm run build:embed && cd client/ |