diff --git a/shadow-cljs.edn b/shadow-cljs.edn index a8f79a6..1a3d649 100644 --- a/shadow-cljs.edn +++ b/shadow-cljs.edn @@ -5,7 +5,8 @@ "src/test"] :dependencies - [[reagent "1.1.1"] [re-frame "1.4.3"] [cljs-ajax "0.8.1"] [environ "1.2.0"] [adzerk/env "0.4.0"]] + [[reagent "1.1.1"] [re-frame "1.4.3"] [cljs-ajax "0.8.1"] +] :build-hooks [(shadow-env.core/hook)] :dev-http {8020 "public"} @@ -13,7 +14,7 @@ :builds {:app {:target :browser - :output-dir "public/js" + :output-dir "resources/js" :asset-path "/js" :closures-defines { "process.env.API_KEY" (System/getenv "API_KEY") @@ -22,4 +23,4 @@ } :modules {:main ; becomes public/js/main.js - {:init-fn starter.browser/init}}}}} + {:init-fn browser/main}}}}}