]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - config.yml
optimize svgs
[irc/freenode/web-7.0.git] / config.yml
index cc861622e2ccbc82f66d406e2ed5b02c65e60270..8ddb088093b87caf37388220afaf294f935811cd 100644 (file)
@@ -11,3 +11,20 @@ modules:
     id: 'news'
     source: news
     root: news
+resources:
+  - command: [cat]
+    source: static/fonts
+    output: out/static/fonts
+  - command: [cat]
+    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