Fix angular builds

pull/4244/head
Chocobozzz 2021-07-05 15:19:23 +02:00
parent b98f39c473
commit 13c749c121
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ if [ -z ${1+x} ] || ([ "$1" != "--light" ] && [ "$1" != "--analyze-bundle" ]); t
additionalParams="--sourceMap=true"
fi
npm run ng build -- --configuration production --output-path "dist/build" $additionalParams
node --max_old_space_size=8192 node_modules/.bin/ng build --configuration production --output-path "dist/build" $additionalParams
for key in "${!languages[@]}"; do
lang=${languages[$key]}
@ -72,7 +72,7 @@ else
export ANALYZE_BUNDLE=true
fi
npm run ng build -- --localize=false --output-path "dist/$defaultLanguage/" \
node --max_old_space_size=8192 node_modules/.bin/ng build --localize=false --output-path "dist/$defaultLanguage/" \
--deploy-url "/client/$defaultLanguage/" --configuration production --stats-json $additionalParams
fi