This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-06-11
Channels
- # announcements (3)
- # beginners (68)
- # biff (4)
- # clerk (5)
- # clj-otel (10)
- # clojure (66)
- # clojure-austin (3)
- # clojure-berlin (3)
- # clojure-boston (5)
- # clojure-europe (25)
- # clojure-nl (36)
- # clojure-norway (78)
- # clojure-sweden (9)
- # clojure-uk (5)
- # clojurescript (6)
- # community-development (3)
- # conjure (3)
- # events (4)
- # fulcro (4)
- # gratitude (4)
- # hyperfiddle (22)
- # nrepl (7)
- # off-topic (20)
- # polylith (21)
- # reitit (2)
- # releases (1)
- # shadow-cljs (21)
- # specter (7)
- # tools-deps (3)
- # vim (18)
Is it possible to set a variable in shadow-cljs config? I want to have some flag like:
mode = release | dev
inside the app i want be able to branch:
(if (= mode :dev)
)
js/goog.DEBUG
by default captures that. it is true for watch/compile and false for release builds
@U05224H0W cool, thank you!
you can set your own via https://shadow-cljs.github.io/docs/UsersGuide.html#closure-defines
👍 1