johndwells / Minimee

Minimize & combine your CSS and JS files. Minify your HTML. Because size (still) DOES matter.
http://johndwells.github.com/Minimee
56 stars 16 forks source link

Fix Original Size Computation #14

Closed loren138 closed 10 years ago

loren138 commented 11 years ago

This commit makes the original size computation happen with the size after it is returned from outside modules.

I've been working with the Minimee+LESS plugin. Compiled LESS happens to be larger than the uncompiled version, then minimee minifies the compiled LESS, but that is still larger than the uncompiled so it rejects the minified and returns the unminified (which is larger than the minified complied less). Hopefully that all made since, what I have done is made the original size computation happen after the hooks are called.

johndwells commented 10 years ago

Hi wiseloren,

Sorry that I never responded to this pull request - all of 2013 was a bit of a blur!

I've finally incorporated your changes, sorry it's taken forever. Thanks for your contribution!

Cheers, John