aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/php/stylesheet.php
diff options
context:
space:
mode:
authormarvin-borner@live.com2018-04-13 18:07:12 +0200
committermarvin-borner@live.com2018-04-13 18:07:12 +0200
commit3ba8b70bd183de06138745ef1a24d7a93097d587 (patch)
tree6e7d0a313fab7a08fc2212269694033e84e88ce9 /assets/php/stylesheet.php
parenta7e6fe259817780bcc3642e6c1f33e0059c1a6fe (diff)
added minifying support -- needs optimization though
Diffstat (limited to 'assets/php/stylesheet.php')
-rw-r--r--assets/php/stylesheet.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/assets/php/stylesheet.php b/assets/php/stylesheet.php
new file mode 100644
index 0000000..66dbc50
--- /dev/null
+++ b/assets/php/stylesheet.php
@@ -0,0 +1,6 @@
+<?php
+require "vendor/autoload.php";
+use MatthiasMullie\Minify;
+$minifier = new Minify\CSS('assets/css/slick.css');
+$minifier->add('assets/css/main.css');
+echo $minifier->minify(); \ No newline at end of file