Skip to content

Commit ba1bcfd

Browse files
Update modify_deployment.sh
1 parent 64a7331 commit ba1bcfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modify_deployment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ echo "t1"
4545

4646
# Check if merged file is less than 128KB
4747
while [[ $(stat -c%s "$merged_file") -lt 131072 ]]; do
48-
largest_file=$(ls -S "$merged_file" | head -n 1) # Get the largest file
48+
largest_file=$(ls -S _just/js/* | head -n 1) # Get the largest original file
4949
if [[ -z "$largest_file" ]]; then
5050
break # Exit the loop if no largest file is found
5151
fi

0 commit comments

Comments
 (0)