Fork me on GitHub
#shadow-cljs
<
2022-02-07
>
djanus12:02:27

hey! is there a way to specify different :compiler-options (specifically :closure-defines) for dev vs release builds?

Ryan Jerue12:02:48

Can’t you just have different entries under :builds in shadow-cljs.edn?

djanus12:02:53

I could, but then one would be dev-only and the other release-only, and it’d be great to prevent mixing them wrongly

djanus21:02:51

glorious! thank you so much Thomas, I don’t know how I overlooked it 🙂