-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproject.clj
35 lines (29 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
(defproject demo "0.1.0-SNAPSHOT"
:description "Demo application to show how to build an isomorphic app with CLJS"
:url "http://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.0-alpha"]
[secretary "1.2.3"]
[kibu/pushy "0.3.1"]]
:plugins [[lein-cljsbuild "1.1.1"]]
:source-paths ["src"]
:clean-targets ^{:protect false} ["resources"]
:cljsbuild {
:builds [{:id "server"
:source-paths ["src" "src-server"]
:compiler {
:main demo.server
:output-to "resources/public/js/server-side/server.js"
:output-dir "resources/public/js/server-side"
:target :nodejs
:optimizations :none
:source-map true}}
{:id "app"
:source-paths ["src" "src-client"]
:compiler {
:output-to "resources/public/js/app.js"
:output-dir "resources/public/js"
:optimizations :none
:source-map true}}]})