b6dfc8b08c
The `payload-size.sh` script is mainly used on CI to calculate, check and potentially save (on non-PR builds) the sizes of the bundles for various apps (including angular.io). If everything goes well (i.e. the checks pass, meaning that the sizes did not increase above the specified threshold) nothing is shown in the CI logs. In some cases, it is useful to be able to see what the sizes were in a specific build; e.g. for debugging purposes or when investigating a gradual increase that happened over time. (Some of this info is available on https://size.angular.io/, but not all.) Previously, the only way to find out what the sizes were for a specific build was to checkout the corresponding commit locally and build the target app, which in turn requires building all Angular packages and can take some time. Given that the sizes are already calculated on CI, this was a waste. This commit makes it easy to find out the bundle sizes for a specific build/commit by always printing out the calculated sizes (thus making them show up in the CI logs). PR Close #33099 |
||
---|---|---|
.. | ||
browserstack | ||
ci | ||
git | ||
github | ||
jenkins | ||
local-dev | ||
release | ||
saucelabs | ||
build-ivy-npm-packages.sh | ||
build-packages-dist.sh | ||
package-builder.sh |