-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.clj
48 lines (37 loc) · 2.03 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
38
39
40
41
42
43
44
45
46
47
48
(defproject threedee-fn "0.1.0-SNAPSHOT"
:description "Threedee fn"
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.145"]
[figwheel "0.4.1"]
[cljsjs/three "0.0.72-1"]
[com.cemerick/piggieback "0.2.1"]
[org.clojure/tools.nrepl "0.2.10"]]
:plugins [[lein-cljsbuild "1.1.1"]
[lein-figwheel "0.4.1"]]
:jvm-opts ["-Xmx1G"]
:cljsbuild {
:builds [{:id "dev"
:source-paths ["src" "src/dev"]
:figwheel true
:compiler {:main "threedee.core"
:asset-path "js/out"
:output-to "resources/public/js/app.js"
:output-dir "resources/public/js/out"
:optimizations :none
:source-map true
:pretty-print true}}
{:id "prod"
:source-paths ["src/threedee"]
:compiler {:main "threedee.core"
:asset-path "js/out"
:output-to "resources/public/js/app.js"
:output-dir "resources/public/js/out-prod"
:optimizations :advanced
:pretty-print false}}]}
:figwheel {
:http-server-root "public" ;; default and assumes "resources"
:server-port 4000 ;; default
:css-dirs ["resources/public/css"] ;; watch and update CSS
:nrepl-port 4444
:nrepl-middleware ["cemerick.piggieback/wrap-cljs-repl"]}
:clean-targets ^{:protect false} ["resources/public/js"])