2017-11-29 05:47:04 -05:00
|
|
|
#!/usr/bin/env bash
|
2017-05-23 20:20:56 -04:00
|
|
|
|
2017-07-14 01:50:05 -04:00
|
|
|
set -eu -o pipefail
|
2017-06-15 13:10:28 -04:00
|
|
|
|
2017-06-22 19:47:53 -04:00
|
|
|
readonly thisDir=$(cd $(dirname $0); pwd)
|
2017-06-30 13:08:33 -04:00
|
|
|
readonly parentDir=$(dirname $thisDir)
|
2019-06-14 06:01:37 -04:00
|
|
|
readonly target=${1:-aio}
|
2017-05-23 20:20:56 -04:00
|
|
|
|
2017-08-03 18:18:55 -04:00
|
|
|
# Track payload size functions
|
|
|
|
source ../scripts/ci/payload-size.sh
|
2017-05-23 20:20:56 -04:00
|
|
|
|
2018-04-11 19:01:53 -04:00
|
|
|
# Provide node_modules from aio
|
|
|
|
NODE_MODULES_BIN=$PROJECT_ROOT/aio/node_modules/.bin/
|
|
|
|
|
2021-06-18 04:29:58 -04:00
|
|
|
trackPayloadSize "$target" "dist/*.css dist/*.js" true "$PROJECT_ROOT/goldens/size-tracking/aio-payloads.json"
|