Fork me on GitHub
#shadow-cljs
<
2021-09-11
>
cjmurphy07:09:38

Can shadow-cljs.edn contain Clojure code? The reason I'm asking is we have different developers with different :preloads requirements and it would be handy to have an(other) edn file that could be read to determine whose machine the shadow-cljs.edn file is on. Any other way to achieve this? I was also thinking of taking it out of version control. But a configurable option would be ideal.

thheller07:09:40

@cjmurphy well you can use the clojure API to customize just about everything but no the shadow-cljs.edn does not eval code. https://shadow-cljs.github.io/docs/UsersGuide.html#config-merge might also work

thheller07:09:25

a build hook could also work