Clojurians
#lumo
<
2018-02-20
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

dehli19:02:21

can you target the browser using lumo?

richiardiandrea20:02:46

@dehli you can compile ClojureScript code that targets browers in theory, but I haven't tried that

dehli21:02:09

thanks! the compiled code has process.env.NODE_ENV in it so it’s failing but I’m wondering if I’m setting the target incorrectly. I have

(b/build "src"
  {:main 'demo.core
   :target :default})
I also tried :browser as the target without luck.

richiardiandrea22:02:02

It looks ok to me

dehli22:02:03

Thanks. It looks like it was an issue with a dependency