Using Leiningen, my CLJ apps have a dev profile that causes, eg, different databases to be used, or certain logic to act differently. I have some pure CLJS apps using ShadowCLJS there this sort of thing would be very handy. In particular, I want to use my CSS-in-[CL]JS when I’m in dev, but be able to turn this off and just use a .css file when I change to production mode. Does anyone know of a solution to having a dev mode and a prod mode, with logic that can be written against that state, in a pure CLJS app?
Different shadow-cljs builds with different Closure Defines.
2 Likes
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.