summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/config_example.pl9
-rw-r--r--data/global.pl8
2 files changed, 14 insertions, 3 deletions
diff --git a/data/config_example.pl b/data/config_example.pl
index 96f003fc..ce272637 100644
--- a/data/config_example.pl
+++ b/data/config_example.pl
@@ -40,6 +40,11 @@ package VNDB;
#$JSGEN{compress} = 'JavaScript::Minifier::XS';
#$JSGEN{compress} = "|/usr/bin/uglifyjs --compress --mangle";
-# Uncomment to generate an extra small icons.png (note: setting both pngcrush and slow options really is slow)
-#$SPRITEGEN{pngcrush} = '/usr/bin/pngcrush';
+# Uncomment to create pre-compressed css and js files using zopfli
+#$JSGEN{gzip} = $SKINGEN{gzip} = "/usr/bin/zopfli";
+
+# Uncomment to generate an extra small icons.png
+# (note: using zopflipng or pngcrush with the slow option is *really* slow, but compresses awesomely)
+#$SPRITEGEN{crush} = '/usr/bin/pngcrush -q';
+#$SPRITEGEN{crush} = '/usr/bin/zopflipng -m --lossy_transparent';
#$SPRITEGEN{slow} = 1;
diff --git a/data/global.pl b/data/global.pl
index 29f1a6c9..ca1df4d3 100644
--- a/data/global.pl
+++ b/data/global.pl
@@ -137,13 +137,19 @@ our %M = (
# Options for jsgen.pl
our %JSGEN = (
compress => undef,
+ gzip => undef,
);
# Options for spritegen.pl
our %SPRITEGEN = (
slow => 0,
- pngcrush => undef,
+ crush => undef,
+);
+
+# Options for skingen.pl
+our %SKINGEN = (
+ gzip => undef,
);