diff options
author | Yorhel <git@yorhel.nl> | 2015-08-17 14:51:14 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2015-08-17 14:52:47 +0200 |
commit | c24962392d8959eb912be14b225d2e8a08ae3f54 (patch) | |
tree | 92675bcfd9b7a3abdc8d552ae0bd51033e17b75f /README | |
parent | 7f81ec60b4c3fd1b6ef5aed2fe4a7f44ee21eeb1 (diff) |
jsgen: Support external command for JS compression (like uglifyjs)
Tends to compress a bit better than JavaScript::Minifier::JS. But is
also a lot slower, so not really useful when devving.
Stats for en.js:
raw gzip
uglifyjs 68199 19446
JS::Minifier::XS 79862 21624
Uncompressed 107662 28663
On an unrelated note, I like how jQuery boasts about being "Only 32kB
minified and gzipped.". That's quite a bit more than all of VNDB's
Javascript combined. For a damn library.
Diffstat (limited to 'README')
-rw-r--r-- | README | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -61,6 +61,7 @@ Requirements util/jsgen.pl JSON::XS JavaScript::Minifier::XS (optional, minimizes JS output) + uglifyjs (optional, slower but better JS compression) util/spritegen.pl Image::Magick |