You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A flag should be added (for example -m) that would cause the output to be
minified:
No whitespace outside of strings.
No superfluous commas (commas before } and ]). These could be removed anyways.
I am working on a solution to this.
Original issue reported on code.google.com by j...@coderforlife.com on 14 Mar 2012 at 8:37
The text was updated successfully, but these errors were encountered:
Honestly, I don't think this is very important. Those extra bytes here and
there basically don't count for very much when you have very large media
downloads for textures and the meshes. And if you care about minification, then
you could simply run the emitted code through an existing JS combiner/minifier.
It's not that I don't care about minifying JS, I just don't think that it is
core to _this_ library. I've deprioritized it, but let me know if you have a
strenuous objection.
The more major issue is the extra commas (before } and ]). These cause problems
with some JSON loaders. I have fixed this issue in my local code if you would
like to see the changes (which also include the minification flag, but always
does not have extra commas).
Original comment by j...@coderforlife.com on 4 Apr 2012 at 4:15
Original issue reported on code.google.com by
j...@coderforlife.com
on 14 Mar 2012 at 8:37The text was updated successfully, but these errors were encountered: