client: register service worker

closes #296
This commit is contained in:
kontrollanten
2020-12-13 04:15:27 +01:00
committed by Chocobozzz
parent 26171379d0
commit dfdd158a75
3 changed files with 8 additions and 18 deletions

View File

@@ -70,6 +70,8 @@ else
npm run ng build -- --localize=false --output-path "dist/$defaultLanguage/" --deploy-url "/client/$defaultLanguage/" --prod --stats-json $additionalParams
fi
mv "./dist/$defaultLanguage/ngsw-worker.js" "./dist/"
cd ../ && npm run build:embed && cd client/
# Copy runtime locales