From 50a04125dac1a126cb79a9fb575fcf673c5ac2d6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 11 Jun 2020 09:29:33 +0200 Subject: Fix npm run build --- scripts/build/client.sh | 4 ---- scripts/release.sh | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.3