This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-03-02
Channels
- # aleph (1)
- # announcements (1)
- # babashka (4)
- # beginners (89)
- # calva (3)
- # chlorine-clover (18)
- # cider (33)
- # clj-kondo (27)
- # cljdoc (4)
- # cljsrn (2)
- # clojure (248)
- # clojure-europe (7)
- # clojure-italy (15)
- # clojure-nl (7)
- # clojure-norway (10)
- # clojure-poland (1)
- # clojure-spec (12)
- # clojure-sweden (5)
- # clojure-uk (57)
- # clojured (4)
- # clojuredesign-podcast (1)
- # clojurescript (55)
- # core-async (14)
- # core-logic (3)
- # cursive (10)
- # datomic (38)
- # figwheel-main (8)
- # fulcro (23)
- # graalvm (126)
- # hoplon (59)
- # jobs (1)
- # kaocha (3)
- # malli (30)
- # meander (17)
- # off-topic (32)
- # pathom (19)
- # pedestal (4)
- # re-frame (12)
- # reagent (2)
- # reitit (3)
- # shadow-cljs (81)
- # sql (9)
- # tools-deps (34)
- # vim (20)
- # vscode (7)
- # xtdb (5)
Hi folks, I'm trying to use :closure-defines
in my setup with figwheel (0.5.18) and re-natal (0.11.1). Should adding keys to the :closure-defines
map in project.clj
and using goog-define
in the usual way just work?
This PR on re-natal (https://github.com/drapanjanas/re-natal/issues/46) suggests that this is the case, but it isn't documented and I've been wrestling with it for a while with no success.
My expectation is that I have "env.config.uri": "
in my closure-defines map, and have (goog-define uri "default")
in the env.config
namespace, if I go to the Figwheel Clojurescript repl I will see env.config/uri
evaluate to "http://example.com".
Sanity check on my understanding of how to use :closure-defines with re-natal and that it should reflect in the figwheel repl would be appreciated 🙂 Thanks!