Closed pearofducks closed 6 years ago
I looked into it, and found a couple of issues.
Taking out ow and minifying reduced the ES build size to 4kb, which feels a lot better. There's definitely still room for improvement though.
4kb is definitely an improvement :) Nice!
I ended up deciding on 3 builds:
The vue plugin is also now separate from the main codebase (see #3). It's available as a minified UMD build, which is only 360 bytes.
I was interested in using this in some projects, and would normally expect a library like this to be quite small (wretch is a good example), however the packaged versions are pretty large (0.22 is 66kb). Additionally the ES version is only 0.34kb smaller than the umd build, which I would not expect if everything was packaged correctly.