You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems normal lein syntax. foo.common.env/env is quoted (like everything else in project.clj) and it shouldn't be evaluated as a clojure/java class.
lein repl and lein figwheel accept it. However lein doo does not - it tries to evaluate foo.common.env/env, causing a ClassNotFoundException.
I can 'solve' the issue by quoting {foo.common.env/env "dev"} with a backtick, but:
I shouldn't be doing that in the first place - it's normal lein syntax
It causes the lein figwheel validator to complain. It expects a map, not a quoted map.
Could it be the case that doo is parsing project.clj (or cljsbuild opts) in its own way?
Cheers - Victor
The text was updated successfully, but these errors were encountered:
Hi!
I have my cljsbuild options like this:
:compiler {:closure-defines {foo.common.env/env "dev"}}
This seems normal lein syntax.
foo.common.env/env
is quoted (like everything else in project.clj) and it shouldn't be evaluated as a clojure/java class.lein repl
andlein figwheel
accept it. Howeverlein doo
does not - it tries to evaluate foo.common.env/env, causing a ClassNotFoundException.I can 'solve' the issue by quoting
{foo.common.env/env "dev"}
with a backtick, but:Could it be the case that doo is parsing project.clj (or cljsbuild opts) in its own way?
Cheers - Victor
The text was updated successfully, but these errors were encountered: