Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix npm run build

Chocobozzz50a04125dac1
diff --git a/scripts/build/client.sh b/scripts/build/client.sh
index 31b55dbf5d..a86404c6f0 100755
--- a/scripts/build/client.sh
+++ b/scripts/build/client.sh
@@ -148,10 +148,6 @@ if [ -z ${1+x} ] || [ "$1" != "--light" ]; then
done
fi
-if [ "$1" != "--analyze" ]; then
- rm "./dist/en-US/stats-es2015.json"
-fi
-
cd ../ && npm run build:embed && cd client/
# Copy runtime locales
diff --git a/scripts/release.sh b/scripts/release.sh
index cc0a586e94..665f690bbd 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -66,7 +66,7 @@ git commit package.json client/package.json ./support/doc/api/openapi.yaml -m "B
git tag -s -a "$version" -m "$version"
npm run build
-rm -f "./client/dist/en_US/stats.json"
+rm -f "./client/dist/en-US/stats.json"
rm -f "./client/dist/embed-stats.json"
# Creating the archives