diff --git a/scripts/build/client.sh b/scripts/build/client.sh index 31b55dbf5..a86404c6f 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 cc0a586e9..665f690bb 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