if [ ! -z ${1+x} ] && [ "$1" == "--light-hu" ]; then
languages=(["hu"]="hu-HU")
elif [ ! -z ${1+x} ] && [ "$1" == "--light-ar" ]; then
- languages=(["ar"]="ar-001")
+ languages=(["ar"]="ar")
elif [ ! -z ${1+x} ] && [ "$1" == "--light-vi" ]; then
languages=(["vi"]="vi-VN")
elif [ ! -z ${1+x} ] && [ "$1" == "--light-kab" ]; then
else
# Supported languages
languages=(
- ["ar"]="ar-001"
+ ["ar"]="ar"
["vi"]="vi-VN"
["hu"]="hu-HU"
["th"]="th-TH"
done
fi
-if [ "$1" != "--analyze" ]; then
- rm "./dist/en-US/stats-es2015.json"
-fi
-
cd ../ && npm run build:embed && cd client/
# Copy runtime locales