Fork me on GitHub
#shadow-cljs
<
2022-06-19
>
tianshu07:06:13

I think I run into an issue that :node reader condition doesn't work.

tianshu07:06:51

The code is quite simple

#?(:node
   (println "node")
   :cljs
   (println "cljs"))
Even with :node-script target, it still printed "cljs".

tianshu07:06:52

Sorry, I guess I missed the

{:reader-features #{:node}}