2015-06-18 12:35:50 -05:00
|
|
|
(require '[figwheel-sidecar.repl :as r]
|
2016-01-07 18:43:59 -05:00
|
|
|
'[figwheel-sidecar.repl-api :as ra]
|
|
|
|
'[cljs.tagged-literals])
|
|
|
|
|
|
|
|
(alter-var-root #'cljs.tagged-literals/*cljs-data-readers*
|
|
|
|
assoc 'ux/tr (fn [v] `(uxbox.locales/tr ~v)))
|
2015-06-18 12:35:50 -05:00
|
|
|
|
|
|
|
(ra/start-figwheel!
|
|
|
|
{:figwheel-options {:css-dirs ["resources/public/css"]}
|
|
|
|
:build-ids ["dev"]
|
|
|
|
:all-builds
|
|
|
|
[{:id "dev"
|
2016-01-17 16:28:10 -05:00
|
|
|
:figwheel {:on-jsload "uxbox.ui/init"}
|
2016-04-07 14:51:40 -05:00
|
|
|
:source-paths ["src" "vendor"]
|
2015-06-18 12:35:50 -05:00
|
|
|
:compiler {:main 'uxbox.core
|
|
|
|
:asset-path "js"
|
2016-01-10 17:19:52 -05:00
|
|
|
:parallel-build false
|
2015-06-18 12:35:50 -05:00
|
|
|
:optimizations :none
|
2016-04-07 14:51:40 -05:00
|
|
|
;; :closure-defines {"uxbox.repo.core.url"
|
|
|
|
;; "https://test.uxbox.io/api"}
|
2016-03-15 16:00:57 -05:00
|
|
|
:closure-defines {"uxbox.repo.core.url"
|
2016-04-07 14:51:40 -05:00
|
|
|
"http://localhost:6060/api"}
|
2016-02-06 05:24:47 -05:00
|
|
|
:warnings {:ns-var-clash false}
|
2015-06-18 12:35:50 -05:00
|
|
|
:pretty-print true
|
|
|
|
:language-in :ecmascript5
|
|
|
|
:language-out :ecmascript5
|
|
|
|
:output-to "resources/public/js/main.js"
|
|
|
|
:output-dir "resources/public/js"
|
|
|
|
:verbose true}}]})
|
|
|
|
|
|
|
|
(ra/cljs-repl)
|