Fork me on GitHub
#shadow-cljs
<
2020-02-05
>
ackerleytng15:02:48

I'm trying to import fs in the renderer in an electron app - building the app with shadow-cljs. has anyone been able to do this successfully before?

Wilson Velez16:02:00

is there a way to get the shadow.build/mode in a re-frame app?

lilactown16:02:39

do you mean you want to detect if it’s a dev build or a release build?

Wilson Velez16:02:55

yes, but I’ve just realised I can use goog.DEBUG for that, right?

lilactown16:02:38

yes, that’s correct