From e6dfa58689e88633db8304a8541a75edd893c645 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Sun, 31 May 2020 20:03:28 +0200 Subject: space optimizations for `node_modules` and client stats removal - replace sharp with lighter jimp alternative - remove stats in builds fixes #2807 --- scripts/build/client.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/build/client.sh') diff --git a/scripts/build/client.sh b/scripts/build/client.sh index a86404c6f..31b55dbf5 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh @@ -148,6 +148,10 @@ 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 -- cgit v1.2.3