times / axisJS

Open source framework for creating simple interactive graphs
MIT License
74 stars 12 forks source link

Reduce size of vendor.js #78

Open aendra-rininsland opened 9 years ago

aendra-rininsland commented 9 years ago

dist/vendor.js is like 1.8mb ungzipped. This is ridiculously big.

aendra-rininsland commented 9 years ago

I've updated the Gruntfile a bit so that it doesn't include the Bootstrap JS deps, which shaved off 0.1mb. The bigger issue is that all the core Angular deps are being served from vendor.js and not CDN; see yeoman/generator-angular#955.

aendra-rininsland commented 9 years ago

This is also due to Handsontable being absolutely massive, and not helped by the fact they bundle dependencies in their dist versions. See handsontable/handsontable#2582.

Granted... screen shot 2015-06-23 at 16 16 29

(Valid point to @MattieTK.)

budnix commented 9 years ago

Hi, Thanks for bug report at handsontable/handsontable#2582. Patch will be released tommorow with Handsontable 0.15.1. Our team still have in mind to keep library as small as possible that is why we try to modularize the code to easy detach/attach fragments of code to reduce final file size. Maybe custom build will interest you http://docs.handsontable.com/0.15.0/tutorial-custom-build.html#page-customizing

aendra-rininsland commented 9 years ago

@budnix Cool! Many thanks! HOT Builder definitely looks like something I could use, will take a look!

aendra-rininsland commented 9 years ago

Kicking to next version.