0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 00:40:30 -05:00
penpot/frontend/scripts/watch-main.clj
2016-11-21 23:44:57 +01:00

18 lines
528 B
Clojure

(require '[cljs.build.api :as b])
(b/watch
(b/inputs "src")
{:main 'uxbox.main
:parallel-build false
:output-to "resources/public/js/main.js"
:output-dir "resources/public/js/main"
:closure-defines {"uxbox.config.url" "https://test.uxbox.io/api"
"uxbox.config.viewurl" "https://test.uxbox.io/view/"}
:optimizations :advanced
:externs ["externs/main.js"]
:static-fns true
:elide-asserts true
:pretty-print false
:language-in :ecmascript6
:language-out :ecmascript5
:verbose true})