-
Notifications
You must be signed in to change notification settings - Fork 133
Yarn build client size 1.2 MB #36
Comments
Hi @TheDolo, icons aren't included in bundle size. You can run |
I appreciate the suggestions for Webpack! That's one of my weak areas at the moment, but not for long :D Oh my, BundleAnalyzerPlugin is fantastic. Make this part of the docs!! (OH, it is already!) Yea, it's both. Thanks! Edit: momentJS is a pig! https://stackoverflow.com/questions/25384360/how-to-prevent-moment-js-from-loading-locales-with-webpack |
Hmm, but there is no momentJS in the starter... But yes, I agree, moment.js is a pig :) |
Oh yea, that was on me! I added some other things and saw it reach 2MB, panic'd, started from scratch again and saw a 1.2MB default build, panic'd again then realized gzip is amazing, learned some more webpack, and now I see the light! I also did this: Which got rid of the 8088 server and did .html reports! For some reason the analyzer server did not exit with ctrl+c. It's a github bug I think! |
Hm, strange, but why it's a github bug? |
Do you use BundleAnalyzer in dev move? |
Naw, only needed in production! |
I'm submitting a ...
Feature Request:
Any idea how to bring this down? Is it just semantics and iconsapple-touch-startup-image-1536x2008.png?
The text was updated successfully, but these errors were encountered: