angular-docs-cn/aio/scripts/payload.sh

13 lines
272 B
Bash
Executable File

#!/bin/bash
set -eu -o pipefail
readonly thisDir=$(cd $(dirname $0); pwd)
readonly parentDir=$(dirname $thisDir)
# Track payload size functions
source ../scripts/ci/payload-size.sh
trackPayloadSize "aio" "dist/*.bundle.js" true true "${thisDir}/_payload-limits.json"