mirror of
https://github.com/penpot/penpot.git
synced 2025-12-23 22:48:40 -05:00
Move routes declaration into ui ns.
Leaving router as agnostic helpers impl.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
(let [start (System/nanoTime)]
|
||||
(b/build
|
||||
(b/inputs "src" "vendor")
|
||||
{:main 'uxbox.core
|
||||
{:main 'uxbox.main
|
||||
:parallel-build false
|
||||
:warnings {:ns-var-clash false}
|
||||
:output-to "resources/public/js/main.js"
|
||||
|
||||
@@ -5,24 +5,49 @@
|
||||
{:figwheel-options {:css-dirs ["resources/public/css"]
|
||||
:server-port 3449
|
||||
:server-ip "0.0.0.0"}
|
||||
:build-ids ["dev"]
|
||||
:build-ids ["main", "preview"]
|
||||
:all-builds
|
||||
[{:id "dev"
|
||||
[{:id "main"
|
||||
:figwheel {:on-jsload "uxbox.ui/init"}
|
||||
:source-paths ["src" "vendor"]
|
||||
:compiler
|
||||
{:main 'uxbox.core
|
||||
{:main 'uxbox.main
|
||||
:asset-path "js"
|
||||
:parallel-build false
|
||||
:optimizations :none
|
||||
;; :closure-defines {"uxbox.repo.core.url"
|
||||
;; "https://test.uxbox.io/api"}
|
||||
:closure-defines {"uxbox.repo.core.url"
|
||||
"https://test.uxbox.io/api"}
|
||||
"http://localhost:6060/api"}
|
||||
:warnings {:ns-var-clash false}
|
||||
:pretty-print true
|
||||
:language-in :ecmascript6
|
||||
:language-out :ecmascript5
|
||||
:output-to "resources/public/js/main.js"
|
||||
:output-dir "resources/public/js"
|
||||
:verbose true}}]})
|
||||
:verbose true}}
|
||||
|
||||
(ra/cljs-repl "dev")
|
||||
#_{:id "preview"
|
||||
;; :figwheel {:on-jsload "uxbox.ui/init"}
|
||||
:source-paths ["src" "vendor"]
|
||||
:compiler
|
||||
{:main 'uxbox.core
|
||||
:asset-path "js"
|
||||
:parallel-build false
|
||||
:optimizations :none
|
||||
;; :closure-defines {"uxbox.repo.core.url"
|
||||
;; "https://test.uxbox.io/api"}
|
||||
:closure-defines {"uxbox.repo.core.url"
|
||||
"http://localhost:6060/api"}
|
||||
:warnings {:ns-var-clash false}
|
||||
:pretty-print true
|
||||
:language-in :ecmascript6
|
||||
:language-out :ecmascript5
|
||||
:output-to "resources/public/preview/js/main.js"
|
||||
:output-dir "resources/public/preview/js"
|
||||
:verbose true}}
|
||||
|
||||
|
||||
]})
|
||||
|
||||
(ra/cljs-repl "main")
|
||||
|
||||
Reference in New Issue
Block a user