aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2024-11-25 23:21:37 +0100
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2024-11-25 23:21:59 +0100
commit015dc50f5b61a29ca27d9ebd5b83168c79250d9f (patch)
tree50f9105644e9500fae4fa3f5ae2d5624e3739f2e /src
parentbcfdf9a356a709dd0c9e60f3800798e0f0b2bc53 (diff)
downloadjquery-015dc50f5b61a29ca27d9ebd5b83168c79250d9f.tar.gz
jquery-015dc50f5b61a29ca27d9ebd5b83168c79250d9f.zip
Build: Report Brotli sizes in compareSize
So far, we were mostly optimizing gzipped sizes. However, using Brotli is more and more popular as all modern browsers support it and compression is much better. It makes sense to also pay attention to these numbers. The `comparseSize` version stays at `2` as this only introduces a new field without affecting existing ones. The only drawback is comparisons with branches that didnt have Brotli computed before will return `NaN`. This can be easily fixed locally by checking out the branch and running the build, but at least we don't lose gzipped sizes in the meantime. Closes gh-5586 (cherry picked from commit e4b5e6227717039a9c695b12e40d3f73ffec31b0)
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions