-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Display gzipped size for JS and CSS after builds #228
Comments
Actually: we should display gzipped build size for JS and CSS assets after compilation.
|
If you’d like to work on this please write a comment here. This is up for grabs! |
I'll take this! |
We could recommend st for serving the files. It's a pretty fully fledged node.js static file server with gzip enabled by default. |
Thanks for the suggestion! I’ll use that instead. |
It has gzip built-in so the size numbers are closer to real world. Thanks @ForbesLindesay for the tip! Related to #228
Hmm, |
Next candidate: https://github.com/scottcorgan/pushstate-server ? 😼 |
Okay, |
We currently recommend
http-server
for testing prod builds but it doesn’t gzip.This might lead you down the path of optimizing the wrong thing in the bundle size.
We should fix our instructions.
The text was updated successfully, but these errors were encountered: