ci(aio): Also track umd.min.js file size
This commit is contained in:
parent
204a2cf942
commit
ca970f5ee5
|
@ -34,6 +34,13 @@ for filename in dist/*.bundle.js; do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Also track sizes of bundle/*umd.min.js files
|
||||||
|
for filename in node_modules/@angular/*/bundles/*.umd.min.js; do
|
||||||
|
size=$(stat -c%s "$filename")
|
||||||
|
label=$(echo "$filename" | sed "s/.*\///" | sed "s/\..*//")
|
||||||
|
payloadData="$payloadData\"umd/$label\": $size, "
|
||||||
|
done
|
||||||
|
|
||||||
# Add Timestamp
|
# Add Timestamp
|
||||||
timestamp=$(date +%s)
|
timestamp=$(date +%s)
|
||||||
payloadData="$payloadData\"timestamp\": $timestamp, "
|
payloadData="$payloadData\"timestamp\": $timestamp, "
|
||||||
|
|
Loading…
Reference in New Issue