diff --git a/scripts/circleci/build.sh b/scripts/circleci/build.sh index 5281af30e6fb8..f186f7674f483 100755 --- a/scripts/circleci/build.sh +++ b/scripts/circleci/build.sh @@ -2,6 +2,11 @@ set -e +# Update the local size measurements to the master version +# so that the size diff printed at the end of the build is +# accurate. +curl -o scripts/rollup/results.json http://react.zpao.com/builds/master/latest/results.json + yarn build --extract-errors # Note: since we run the full build including extracting error codes, # it is important that we *don't* reset the change to `scripts/error-codes/codes.json`.