2013-12-16 22:19:36 +00:00
|
|
|
|
|
|
|
|
2014-02-03 13:54:01 +00:00
|
|
|
(defproject simple-reagent "0.3.0"
|
2013-12-17 14:29:02 +00:00
|
|
|
:dependencies [[org.clojure/clojure "1.5.1"]
|
2014-01-10 10:10:09 +00:00
|
|
|
[org.clojure/clojurescript "0.0-2138"]
|
2014-02-03 13:54:01 +00:00
|
|
|
[reagent "0.3.0"]]
|
2013-12-17 14:29:02 +00:00
|
|
|
:plugins [[lein-cljsbuild "1.0.1"]]
|
2013-12-16 22:19:36 +00:00
|
|
|
:hooks [leiningen.cljsbuild]
|
|
|
|
:profiles {:prod {:cljsbuild
|
|
|
|
{:builds
|
|
|
|
{:client {:compiler
|
|
|
|
{:optimizations :advanced
|
2014-01-17 10:12:11 +00:00
|
|
|
:preamble ^:replace ["reagent/react.min.js"]
|
2013-12-16 22:19:36 +00:00
|
|
|
:pretty-print false}}}}}
|
|
|
|
:srcmap {:cljsbuild
|
|
|
|
{:builds
|
|
|
|
{:client {:compiler
|
|
|
|
{:source-map "target/client.js.map"
|
|
|
|
:source-map-path "client"}}}}}}
|
|
|
|
:source-paths ["src"]
|
|
|
|
:cljsbuild
|
|
|
|
{:builds
|
|
|
|
{:client {:source-paths ["src"]
|
|
|
|
:compiler
|
2014-01-17 10:12:11 +00:00
|
|
|
{:preamble ["reagent/react.js"]
|
2014-01-10 10:10:09 +00:00
|
|
|
:output-dir "target/client"
|
2013-12-16 22:19:36 +00:00
|
|
|
:output-to "target/client.js"
|
|
|
|
:pretty-print true}}}})
|