]> source.dussan.org Git - jquery-ui.git/commit
Build: Report compressed sizes in compare_size
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 20 May 2024 16:59:58 +0000 (18:59 +0200)
committerGitHub <noreply@github.com>
Mon, 20 May 2024 16:59:58 +0000 (18:59 +0200)
commit9180a8180b17c38f6c3f27ba46d4546d800d3508
tree1e032138f5be3b60c3876765dbc38a975c3f8f39
parentf47c7fe44d41d6af9b6f00c7201d991b01b93035
Build: Report compressed sizes in compare_size

Just like it has always worked in Core. This will help with size comparisons
between 1.13 & 1.14.

After this PR:

```
$ grunt sizer
Running "requirejs:js" (requirejs) task

Running "uglify:main" (uglify) task
>> 1 file created 549 kB → 267 kB

Running "compare_size:all" (compare_size) task
   raw     gz Sizes
549319 128757 dist/jquery-ui.js
266710  69612 dist/jquery-ui.min.js

Done.
```

Before, only the less interesting `raw` sizes were reported.

Closes gh-2254
Ref gh-2248
Gruntfile.js