0xfe / vextab

A VexTab Parser for VexFlow
Other
595 stars 115 forks source link

Compiled library is very big #73

Closed ericman314 closed 8 years ago

ericman314 commented 8 years ago

This is an impressive library!

I'm making a mobile flashcard app for some orchestra students, and I found your library was a perfect fit for what I need. However, the compiled library is 1.4 MB, which is pretty big for a mobile app.

Is there any way to select only the features I need to reduce the size of the library? For example, all I need to render is the staff, clef, key signature, and a single note.

Thanks!

0xfe commented 8 years ago

No way to select features right now (but you can mess with the build scripts to take out stuff that you're not using.)

Alternatively, minifying and gzipping the library could significantly drop the total size (by ~90%), and you can use http transfer encoding: gzip to serve it.