From 92148a7a396e9bfb8e46a125cc2e31298fd0fcd5 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 13 Jun 2022 15:15:20 +0200 Subject: Fix ng build options --- scripts/build/client.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/build') diff --git a/scripts/build/client.sh b/scripts/build/client.sh index f4f9b1352..74fb8ca1b 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh @@ -71,14 +71,14 @@ if [ -z ${1+x} ] || ([ "$1" != "--light" ] && [ "$1" != "--analyze-bundle" ]); t else additionalParams="" if [ ! -z ${1+x} ] && [ "$1" == "--analyze-bundle" ]; then - additionalParams="--namedChunks=true --outputHashing=none" + additionalParams="--named-chunks=true --output-hashing=none" # For webpack export ANALYZE_BUNDLE=true fi 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 + --configuration production --stats-json $additionalParams fi cp "./dist/$defaultLanguage/manifest.webmanifest" "./dist/manifest.webmanifest" -- cgit v1.2.3