mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 23:49:45 -05:00
19 lines
504 B
Clojure
19 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 :ecmascript5
|
||
|
:language-out :ecmascript5
|
||
|
:verbose true})
|
||
|
(println "... done. Elapsed" (/ (- (System/nanoTime) start) 1e9) "seconds"))
|