-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
37 lines (31 loc) · 1.16 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
(defproject reagent-node-render-demo "0.1.0-SNAPSHOT"
:description "FIXME: write this!"
:url "http:https://example.com/FIXME"
:min-lein-version "2.5.3"
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.170"]
[reagent "0.6.1" :exclusions [cljsjs/react]]]
:plugins [[lein-cljsbuild "1.1.5"]
[lein-figwheel "0.5.9"]]
:source-paths ["src"]
:clean-targets ["renderer.js"
"target"]
:cljsbuild {
:builds [{:id "dev"
:source-paths ["src"]
:figwheel true
:compiler {
:main reagent-node-render-demo.core
:output-to "target/renderer_dev/reagent_node_render_demo.js"
:output-dir "target/renderer_dev"
:target :nodejs
:optimizations :none
:source-map true}}
{:id "prod"
:source-paths ["src"]
:compiler {
:output-to "renderer.js"
:output-dir "target/renderer_prod"
:preamble ["include.js"]
:target :nodejs
:optimizations :simple}}]})