2013-12-16 22:19:36 +00:00
|
|
|
|
|
|
|
|
2014-12-10 11:39:30 +00:00
|
|
|
(defproject todomvc-reagent "0.5.0-alpha"
|
2013-12-17 14:29:02 +00:00
|
|
|
:dependencies [[org.clojure/clojure "1.5.1"]
|
2014-02-22 07:37:14 +00:00
|
|
|
[org.clojure/clojurescript "0.0-2173"]
|
2014-12-10 11:39:30 +00:00
|
|
|
[reagent "0.5.0-alpha"]]
|
2014-02-22 07:37:14 +00:00
|
|
|
:plugins [[lein-cljsbuild "1.0.2"]]
|
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}}}})
|