New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
idea: Report compressed sizes with brotli at 11 #10023
Comments
@runspired Something like this? I quickly used brotli-size. I do think the table approach is better on the eyes than the current print out, but maybe that's subjective. |
Love it |
@bertdeblock any movement here? |
@runspired We discussed this briefly during one of the previous CLI meetings. The only "downside" would be that this could slow down people's CI a bit, because the sizes are calculated by default after a build, and calculating the Brotli sizes takes a bit longer. For our projects, it probably wouldn't make that much of a difference, but I'm not sure I can make that assumption for others. Open to suggestions though! For example, maybe we could include the Brotli sizes when running the |
This is why I setup our builds in CI to run with FWIW the better option is probably to not print at all unless the flag is passed. I'd also be interested in having the option to write the compressed output (since we're doing the work anyway). The main thing is just that gzip sizes are meaningless to everyone at this point, seems odd to do the work for gzip for a number that isn't useful 😬 |
Since the entire world now does this (right? right?!!?! if you don't you should) it would be awesome if the little print out after a production build or when using broccoli-concat-analyzer similarly did this.
The text was updated successfully, but these errors were encountered: