-
Notifications
You must be signed in to change notification settings - Fork 2
/
project.clj
48 lines (41 loc) · 2.12 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 co.zensight/reagent-quill "1.0.0-SNAPSHOT"
:description "Reagent wrapper around react-quill"
:url "https://github.com/Zensight/reagent-quill.git"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.293"]
[cljsjs/react "15.2.1-0"]
[cljsjs/react-dom "15.2.1-0"]
[cljsjs/react-dom-server "15.2.1-0"]
[reagent "0.6.0"]]
:plugins [[lein-cljsbuild "1.1.4"
:exclusions [org.clojure/clojure]]
[lein-figwheel "0.5.4-7"]]
:deploy-repositories [["releases" :clojars]]
:source-paths ["src"]
:figwheel {:server-port 3450
:css-dirs ["resources/public/css"]}
:cljsbuild {:builds {:app
{:source-paths ["src" "env/dev/cljs"]
:figwheel true
:compiler {:main "reagent-quill.dev"
:asset-path "js/out"
:output-to "resources/public/js/app.js"
:output-dir "resources/public/js/out"
:source-map true
:optimizations :none
:pretty-print true
:foreign-libs [{:file "src/vendor/bundle.js"
:file-min "src/vendor/bundle.min.js"
:provides ["react-quill"]}]
}}
:release
{:source-paths ["src" "env/prod/cljs"]
:compiler
{:output-to "dist/reagent-quill.js"
:output-dir "dist/"
:asset-path "js/out"
:foreign-libs [{:file "src/vendor/bundle.js"
:file-min "src/vendor/bundle.min.js"
:provides ["react-quill"]}]
:optimizations :advanced
:pretty-print false}}}})