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 done mv "./dist/$defaultLanguage/assets" "./dist" - mv "./dist/$defaultLanguage/manifest.webmanifest" "./dist/manifest.webmanifest" rmdir "dist/build" else @@ -70,6 +69,7 @@ else npm run ng build -- --localize=false --output-path "dist/$defaultLanguage/" --deploy-url "/client/$defaultLanguage/" --prod --stats-json $additionalParams fi +mv "./dist/$defaultLanguage/manifest.webmanifest" "./dist/manifest.webmanifest" mv "./dist/$defaultLanguage/ngsw-worker.js" "./dist/" cd ../ && npm run build:embed && cd client/