mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 23:49:45 -05:00
Move common constants as uxbox.config ns.
This commit is contained in:
parent
2810903020
commit
b3e17bd2b7
4 changed files with 5 additions and 6 deletions
|
@ -11,7 +11,7 @@
|
|||
:output-to "dist/js/main.js"
|
||||
:source-map "dist/js/main.js.map"
|
||||
:output-dir "dist/js/main"
|
||||
:closure-defines {"uxbox.common.constants.url"
|
||||
:closure-defines {"uxbox.config.url"
|
||||
"https://test.uxbox.io/api"}
|
||||
:optimizations :advanced
|
||||
:externs ["externs/main.js"]
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
:output-to "dist/view/js/view.js"
|
||||
:source-map "dist/view/js/view.js.map"
|
||||
:output-dir "dist/view/js/view/"
|
||||
:closure-defines {"uxbox.common.constants.url"
|
||||
:closure-defines {"uxbox.config.url"
|
||||
"https://test.uxbox.io/api"}
|
||||
:optimizations :simple
|
||||
:externs ["externs/main.js"]
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
{:main 'uxbox.main
|
||||
:parallel-build false
|
||||
:optimizations :none
|
||||
:closure-defines {"uxbox.common.constants.url"
|
||||
:closure-defines {"uxbox.config.url"
|
||||
"https://test.uxbox.io/api"}
|
||||
:warnings {:ns-var-clash false}
|
||||
:language-in :ecmascript6
|
||||
|
@ -33,7 +33,7 @@
|
|||
{:main 'uxbox.view
|
||||
:parallel-build false
|
||||
:optimizations :none
|
||||
:closure-defines {"uxbox.common.constants.url"
|
||||
:closure-defines {"uxbox.config.url"
|
||||
"https://test.uxbox.io/api"}
|
||||
:warnings {:ns-var-clash false}
|
||||
:language-in :ecmascript6
|
||||
|
|
|
@ -4,6 +4,5 @@
|
|||
;;
|
||||
;; Copyright (c) 2016 Andrey Antukh <niwi@niwi.nz>
|
||||
|
||||
(ns uxbox.common.constants)
|
||||
|
||||
(ns uxbox.config)
|
||||
(goog-define url "http://127.0.0.1:6060/api")
|
Loading…
Add table
Reference in a new issue