Commit 598d0a68bbe71238783ece61ffae97ef94b38713

Thomas de Grivel 2014-10-16T15:52:33

Cannot minify JS this way.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/js.lisp b/js.lisp
index 5422937..0dffd0f 100644
--- a/js.lisp
+++ b/js.lisp
@@ -53,8 +53,6 @@
 (defmethod process-asset ((asset js-asset)
 			  (output stream))
   (with-input-from-file/utf-8 (js (asset-source-path asset))
-    (if (debug-p (or :js :assets))
-	(copy-stream js output)
-	(jsmin js output)))
+    (copy-stream js output))
   (force-output output)
   (values))