aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-05 15:19:23 +0200
committerChocobozzz <me@florianbigard.com>2021-07-05 15:19:23 +0200
commit13c749c121433be7d29984083d6dd106486dc6f8 (patch)
tree523c4ab96f3917254621f81a6204a1cc9f54f125 /scripts
parentb98f39c4731e981bb009946e1b0b63f08c9568db (diff)
downloadPeerTube-13c749c121433be7d29984083d6dd106486dc6f8.tar.gz
PeerTube-13c749c121433be7d29984083d6dd106486dc6f8.tar.zst
PeerTube-13c749c121433be7d29984083d6dd106486dc6f8.zip
Fix angular builds
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/client.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh
index 0b7cbec35..5ecbff28d 100755
--- a/scripts/build/client.sh
+++ b/scripts/build/client.sh
@@ -49,7 +49,7 @@ if [ -z ${1+x} ] || ([ "$1" != "--light" ] && [ "$1" != "--analyze-bundle" ]); t
49 additionalParams="--sourceMap=true" 49 additionalParams="--sourceMap=true"
50 fi 50 fi
51 51
52 npm run ng build -- --configuration production --output-path "dist/build" $additionalParams 52 node --max_old_space_size=8192 node_modules/.bin/ng build --configuration production --output-path "dist/build" $additionalParams
53 53
54 for key in "${!languages[@]}"; do 54 for key in "${!languages[@]}"; do
55 lang=${languages[$key]} 55 lang=${languages[$key]}
@@ -72,7 +72,7 @@ else
72 export ANALYZE_BUNDLE=true 72 export ANALYZE_BUNDLE=true
73 fi 73 fi
74 74
75 npm run ng build -- --localize=false --output-path "dist/$defaultLanguage/" \ 75 node --max_old_space_size=8192 node_modules/.bin/ng build --localize=false --output-path "dist/$defaultLanguage/" \
76 --deploy-url "/client/$defaultLanguage/" --configuration production --stats-json $additionalParams 76 --deploy-url "/client/$defaultLanguage/" --configuration production --stats-json $additionalParams
77fi 77fi
78 78