27 lines
658 B
Clojure
27 lines
658 B
Clojure
;; shadow-cljs configuration
|
|
{:source-paths
|
|
["src/dev"
|
|
"src/main"
|
|
"src/test"]
|
|
|
|
:dependencies
|
|
[[reagent "1.1.1"] [re-frame "1.4.3"] [cljs-ajax "0.8.1"]
|
|
]
|
|
:build-hooks [(shadow-env.core/hook)]
|
|
:dev-http
|
|
{8020 "resources"}
|
|
|
|
:builds
|
|
{:app
|
|
{:target :browser
|
|
:output-dir "resources/js"
|
|
:asset-path "/js"
|
|
:closures-defines {
|
|
"process.env.API_KEY" (System/getenv "API_KEY")
|
|
"process.env.VID_SRC" (System/getenv "VID_SRC")
|
|
"process.env.BASE_URL" (System/getenv "BASE_URL")
|
|
}
|
|
:modules
|
|
{:main ; becomes public/js/main.js
|
|
{:init-fn browser/main}}}}}
|