chore: add manifest in light build

This commit is contained in:
kontrollanten 2020-12-15 09:49:24 +01:00 committed by Chocobozzz
parent dfdd158a75
commit 75dd1b641f

View File

@ -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/