0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00
penpot/frontend/scripts/build-worker.clj

22 lines
606 B
Clojure
Raw Normal View History

(require '[cljs.build.api :as b])
(println "Building ...")
(let [start (System/nanoTime)]
(b/build
2016-06-22 21:20:17 +03:00
(b/inputs "src")
{:main 'uxbox.worker
2016-06-22 21:20:17 +03:00
:parallel-build false
:warnings {:ns-var-clash false}
:output-to "resources/public/js/worker.js"
:source-map "resources/public/js/worker.js.map"
:output-dir "resources/public/js/worker"
:asset-path "js"
:optimizations :simple
:static-fns true
2016-04-11 17:40:08 +03:00
:language-in :ecmascript6
:language-out :ecmascript5
2016-06-22 21:20:17 +03:00
:pretty-print true
:verbose true})
(println "... done. Elapsed" (/ (- (System/nanoTime) start) 1e9) "seconds"))