diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/client.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh index 75da6765c..b2c2e3bfb 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh | |||
@@ -154,7 +154,9 @@ if [ -z ${1+x} ] || ([ "$1" != "--light" ] && [ "$1" != "--analyze-bundle" ]); t | |||
154 | done | 154 | done |
155 | fi | 155 | fi |
156 | 156 | ||
157 | cd ../ && npm run build:embed && cd client/ | 157 | if [ ! -z ${1+x} ] && [ "$1" == "--analyze-bundle" ]; then |
158 | cd ../ && npm run build:embed && cd client/ | ||
159 | fi | ||
158 | 160 | ||
159 | # Copy runtime locales | 161 | # Copy runtime locales |
160 | cp -r "./src/locale" "./dist/locale" | 162 | cp -r "./src/locale" "./dist/locale" |