mirror of https://github.com/Chocobozzz/PeerTube
chore: add manifest in light build
parent
dfdd158a75
commit
75dd1b641f
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue