aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build
diff options
context:
space:
mode:
authorkontrollanten <6680299+kontrollanten@users.noreply.github.com>2020-12-13 04:15:27 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-01-13 09:10:52 +0100
commitdfdd158a75d91208a8444a8bad1663ca3bafe299 (patch)
treec53f392aebdb405a6e9cb9e13dd8560999a3e67c /scripts/build
parent26171379d0196ac645923e72b12e1cf29089835b (diff)
downloadPeerTube-dfdd158a75d91208a8444a8bad1663ca3bafe299.tar.gz
PeerTube-dfdd158a75d91208a8444a8bad1663ca3bafe299.tar.zst
PeerTube-dfdd158a75d91208a8444a8bad1663ca3bafe299.zip
client: register service worker
closes #296
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/client.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh
index 0f5b2d976..68939290c 100755
--- a/scripts/build/client.sh
+++ b/scripts/build/client.sh
@@ -70,6 +70,8 @@ else
70 npm run ng build -- --localize=false --output-path "dist/$defaultLanguage/" --deploy-url "/client/$defaultLanguage/" --prod --stats-json $additionalParams 70 npm run ng build -- --localize=false --output-path "dist/$defaultLanguage/" --deploy-url "/client/$defaultLanguage/" --prod --stats-json $additionalParams
71fi 71fi
72 72
73mv "./dist/$defaultLanguage/ngsw-worker.js" "./dist/"
74
73cd ../ && npm run build:embed && cd client/ 75cd ../ && npm run build:embed && cd client/
74 76
75# Copy runtime locales 77# Copy runtime locales