figwheel-main

figwheel-main http://figwheel.org
alidlorenzo 2021-03-01T22:53:49.007600Z

how do you define development only code when building an app with figwheel-main? I had previously used a js/goog.DEBUG flag (https://clojureverse.org/t/how-to-deal-with-development-code-in-clojurescript/613) but with figwheel this variable seems to be true even when building optimized bundles

alidlorenzo 2021-03-01T23:07:33.007900Z

ah looks like I can override it myself with :closure-defines setting the 'goog/DEBUG value (before I was trying js/goog,DEBUG)