diff --git a/project.clj b/project.clj index 717e80b..f734f0a 100644 --- a/project.clj +++ b/project.clj @@ -70,7 +70,7 @@ :compiler {:main ulysses.core :output-dir "resources/public/js/compiled" :output-to "resources/public/js/compiled/app.js" - :optimizations :advanced + :optimizations :whitespace :closure-defines {goog.DEBUG false} :pretty-print false :source-map "resources/public/js/compiled/app.js.map" diff --git a/src/cljs/ulysses/utils.cljs b/src/cljs/ulysses/utils.cljs index f4d15b1..81c08f5 100644 --- a/src/cljs/ulysses/utils.cljs +++ b/src/cljs/ulysses/utils.cljs @@ -43,7 +43,7 @@ "print x, then return it. useful for debugging inside threading macros or map" [x] - (println x) + (cljs.pprint/pprint x) x) (defn ptr-first