 
                    }
 
-             :uberjar {:hooks [leiningen.cljsbuild minify-assets.plugin/hooks]
+             :uberjar {:hooks [leiningen.cljsbuild]
                        :env {:production true}
                        :aot :all
                        :omit-source true

                                              :compiler {:main "russyll.dev"
                                                         :source-map true}}

                                       :test {:source-paths ["test/cljs/russyll" "src/cljs/russyll"]
                                              :compiler {:output-to "target/test.js"
                                                         :output-dir "target/out"
                                                         :main russyll.runner

  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}

  :dependencies [[org.clojure/clojure "1.9.0"]
                 [reagent "0.8.2-SNAPSHOT"]
                 [reagent-utils "0.1.5"]
                 [re-frame "0.8.0"]
                 [org.clojure/core.async "0.4.474"]
                 [org.clojure/clojurescript "1.10.339"]
                 [secretary "1.2.3"]
                 ]

  :plugins [[lein-cljsbuild "1.1.7"]
            [lein-environ "1.0.1"]
            ]

  :min-lein-version "2.5.3"

  :uberjar-name "russyll.jar"

  :clean-targets ^{:protect false} [:target-path
                                    [:cljsbuild :builds :app :compiler :output-dir]
                                    [:cljsbuild :builds :app :compiler :output-to]]

  :cljsbuild {:builds {:app {:source-paths ["src"]
                             :compiler {:output-to     "resources/public/js/app.js"
                                        :output-dir    "resources/public/js/out"
                                        :asset-path   "js/out"
                                        :optimizations :none
                                        :pretty-print  true}}
                       }}

  :profiles {:dev {:repl-options {:init-ns russyll.repl}
