2013-12-16 23:19:36 +01:00
|
|
|
|
|
|
|
|
2014-01-10 14:03:47 +01:00
|
|
|
(defproject simple-cloact "0.1.0"
|
2013-12-17 15:29:02 +01:00
|
|
|
:dependencies [[org.clojure/clojure "1.5.1"]
|
2014-01-10 11:10:09 +01:00
|
|
|
[org.clojure/clojurescript "0.0-2138"]
|
2014-01-10 14:03:47 +01:00
|
|
|
[cloact "0.1.0"]]
|
2013-12-17 15:29:02 +01:00
|
|
|
:plugins [[lein-cljsbuild "1.0.1"]]
|
2013-12-16 23:19:36 +01:00
|
|
|
:hooks [leiningen.cljsbuild]
|
|
|
|
:profiles {:prod {:cljsbuild
|
|
|
|
{:builds
|
|
|
|
{:client {:compiler
|
|
|
|
{:optimizations :advanced
|
2014-01-10 11:10:09 +01:00
|
|
|
:preamble ^:replace ["cloact/react.min.js"]
|
2013-12-16 23:19:36 +01: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-10 11:10:09 +01:00
|
|
|
{:preamble ["cloact/react.js"]
|
|
|
|
:output-dir "target/client"
|
2013-12-16 23:19:36 +01:00
|
|
|
:output-to "target/client.js"
|
|
|
|
:pretty-print true}}}})
|