mirror of https://github.com/status-im/reagent.git
29 lines
1.0 KiB
Clojure
29 lines
1.0 KiB
Clojure
|
|
|
|
(defproject simple-reagent "0.4.1"
|
|
:dependencies [[org.clojure/clojure "1.5.1"]
|
|
[org.clojure/clojurescript "0.0-2173"]
|
|
[reagent "0.4.1"]]
|
|
:plugins [[lein-cljsbuild "1.0.2"]]
|
|
:hooks [leiningen.cljsbuild]
|
|
:profiles {:prod {:cljsbuild
|
|
{:builds
|
|
{:client {:compiler
|
|
{:optimizations :advanced
|
|
:preamble ^:replace ["reagent/react.min.js"]
|
|
: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
|
|
{:preamble ["reagent/react.js"]
|
|
:output-dir "target/client"
|
|
:output-to "target/client.js"
|
|
:pretty-print true}}}})
|