summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2015-08-17 14:51:14 +0200
committerYorhel <git@yorhel.nl>2015-08-17 14:52:47 +0200
commitc24962392d8959eb912be14b225d2e8a08ae3f54 (patch)
tree92675bcfd9b7a3abdc8d552ae0bd51033e17b75f /README
parent7f81ec60b4c3fd1b6ef5aed2fe4a7f44ee21eeb1 (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--README1
1 files changed, 1 insertions, 0 deletions
diff --git a/README b/README
index 1d755a2a..39a060a4 100644
--- a/README
+++ b/README
@@ -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