]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - config.yml
optimize svgs
[irc/freenode/web-7.0.git] / config.yml
index 31bc8369097b41668cbc7f8c47e4402a7dac8d22..8ddb088093b87caf37388220afaf294f935811cd 100644 (file)
@@ -19,6 +19,12 @@ resources:
     source: static/img
     output: out/static/img
     recursive: True
+    pattern: '*.png'
+  - command: [svgo, -p, '7', -i, -, -o, -]
+    source: static/img
+    output: out/static/img
+    recursive: True
+    pattern: '*.svg'
   - command: [myth, --]
     source: static/css
     output: out/static/css