mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 03:26:38 +02:00
Move all files under frontend directory.
This commit is contained in:
parent
92b45b2d05
commit
e21798f1ed
603 changed files with 10 additions and 31 deletions
24
frontend/scripts/dist-view.clj
Normal file
24
frontend/scripts/dist-view.clj
Normal file
|
@ -0,0 +1,24 @@
|
|||
(require '[cljs.build.api :as b])
|
||||
|
||||
(println "Building ...")
|
||||
|
||||
(let [start (System/nanoTime)]
|
||||
(b/build
|
||||
(b/inputs "src")
|
||||
{:main 'uxbox.view
|
||||
:parallel-build false
|
||||
:warnings {:ns-var-clash false}
|
||||
:output-to "dist/js/view.js"
|
||||
:source-map "dist/js/view.js.map"
|
||||
:output-dir "dist/js/view/"
|
||||
:closure-defines {"uxbox.config.url" "https://test.uxbox.io/api"
|
||||
"uxbox.config.viewurl" "https://test.uxbox.io/view/"}
|
||||
:optimizations :simple
|
||||
:externs ["externs/main.js"]
|
||||
:static-fns true
|
||||
:elide-asserts true
|
||||
:pretty-print false
|
||||
:language-in :ecmascript6
|
||||
:language-out :ecmascript5
|
||||
:verbose true})
|
||||
(println "... done. Elapsed" (/ (- (System/nanoTime) start) 1e9) "seconds"))
|
Loading…
Add table
Add a link
Reference in a new issue