diff options
Diffstat (limited to 'scripts/build/client.sh')
-rwxr-xr-x | scripts/build/client.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh index 254ca4364..878de60df 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh | |||
@@ -33,6 +33,7 @@ pre_build_hook | |||
33 | additionalParams="" | 33 | additionalParams="" |
34 | if [ ! -z ${1+x} ] && [ "$1" == "--analyze-bundle" ]; then | 34 | if [ ! -z ${1+x} ] && [ "$1" == "--analyze-bundle" ]; then |
35 | additionalParams="--namedChunks=true --outputHashing=none" | 35 | additionalParams="--namedChunks=true --outputHashing=none" |
36 | export ANALYZE_BUNDLE=true | ||
36 | fi | 37 | fi |
37 | 38 | ||
38 | 39 | ||
@@ -154,9 +155,7 @@ if [ -z ${1+x} ] || ([ "$1" != "--light" ] && [ "$1" != "--analyze-bundle" ]); t | |||
154 | done | 155 | done |
155 | fi | 156 | fi |
156 | 157 | ||
157 | if [ ! -z ${1+x} ] || [ "$1" == "--analyze-bundle" ]; then | 158 | cd ../ && npm run build:embed && cd client/ |
158 | cd ../ && npm run build:embed && cd client/ | ||
159 | fi | ||
160 | 159 | ||
161 | # Copy runtime locales | 160 | # Copy runtime locales |
162 | cp -r "./src/locale" "./dist/locale" | 161 | cp -r "./src/locale" "./dist/locale" |