-
Notifications
You must be signed in to change notification settings - Fork 594
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
Webpack vs Rollup #37
Comments
Hmm, jQuery minified clocks in at ~240kb and Chosen minified is 60kb as far as I'm aware. |
Ah, I was using https://mathiasbynens.be/demo/jquery-size for reference, but was looking at the minified/gzip one; which would probably fair far better for Choices as well - sorry disregard that portion. Let me know if you have a chance to read that article, always interested in hearing other's thoughts on the manner. |
You've definitely got a point. I'm going to see whether Webpack 2 makes any sizeable difference to the bundle size - I've heard mixed reports about it. |
Going to close this and return to it when Webpack 2 comes out of beta. Thanks |
👍 Just as a heads up, I've been using the beta for a few weeks now and haven't run into any snags, so maybe not too far off from playing around with it! |
Out of interest, did you find it decreased bundle sizes? |
TBH I never used Webpack v1 and have not had a chance to use Rollpack in prod yet, but I'll tell ya I was pleasantly surprised in comparison to the previous (more traditional Rails asset pipeline type of approach I used) that the filesize was darn-near identical. |
Hey!
Wanted to bring up more a discussion rather than an issue, but I recently read through https://nolanlawson.com/2016/08/15/the-cost-of-small-modules/ which had some interesting insights into some of the extra "stuff" Webpack can wrap around your code which can sometimes lead to larger file sizes - and wanted to get your take. About to do some integration work with Choices to replace Chosen (which relies on jQuery), but noticed the distributed size is about the same of both Chosen and jQuery combined - and it came across a little odd. Thanks!
The text was updated successfully, but these errors were encountered: