 
   :main ^:skip-aot tango.core
   :target-path "target/%s"
-  :profiles {:uberjar {:aot :all}}
+  :profiles {:uberjar {:aot :all
+                       :hooks     [leiningen.cljsbuild]}}
 
-  :aliases {"quality" ["do"
-                       ;; excluding constant test due to not working well with logging
-                       ["eastwood" "{:exclude-linters [:constant-test]}"]
-                       ["kibit"]
-                       ["ancient"]]
+  :aliases {"quality"    ["do"
+                          ;; excluding constant test due to not working well with logging
+                          ["eastwood" "{:exclude-linters [:constant-test]}"]
+                          ["kibit"]
+                          ["ancient"]]
 
-            "doc" ["do"
-                   ["hiera"]
-                   ["marg" "src" "test" "specs" "--dir" "./doc"]]
+            "doc"        ["do"
+                          ["hiera"]
+                          ["marg" "src" "test" "specs" "--dir" "./doc"]]
 
             "pre-commit" ["do"
                           ["test"]

                 [ring/ring-defaults        "0.1.5"]

                 [compojure "1.4.0"]
                                          
                 ;[reagent "0.5.1"]
                                  
                 ; Code cleaness tools
                 [repetition-hunter "1.0.0"]


               ;; lein cljsbuild once min
               {:id "min"
                :source-paths ["src"]
                :compiler {:main tango.cljs.client
                           :output-to "resources/public/js/app.js"
                           :asset-path "js/out"
                           :optimizations :advanced
                           :pretty-print false}}]}
  
