mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 00:10:11 -05:00
18 lines
504 B
Clojure
18 lines
504 B
Clojure
(require '[cljs.build.api :as b])
|
|
|
|
(println "Building ...")
|
|
|
|
(let [start (System/nanoTime)]
|
|
(b/build
|
|
(b/inputs "src" "vendor")
|
|
{:main 'uxbox.worker
|
|
:output-to "resources/public/js/worker.js"
|
|
:output-dir "resources/public/js/worker"
|
|
:asset-path "js"
|
|
:parallel-build false
|
|
:optimizations :simple
|
|
:static-fns true
|
|
:language-in :ecmascript6
|
|
:language-out :ecmascript5
|
|
:verbose true})
|
|
(println "... done. Elapsed" (/ (- (System/nanoTime) start) 1e9) "seconds"))
|