Hello,
I am trying translate the following cljs.main options with the CLI:
$ clj -m cljs.main          \
      -d public/js/compiled \
      -o public/js/main.js  \
      -O advanced           \
      -c hello-world.core
Into deps.edn:
{:deps {org.clojure/clojurescript {:mvn/version "1.10.764"}
        reagent {:mvn/version "1.0.0-alpha2"}}
 :main "hello-world.core"
 :optimizations :advanced
 :output-dir "public/js/compiled"
 :output-to "public/js/main.js"}
Then execute it with:
clj -m cljs.main -co deps.edn
However, it doesn't seem to work.
I also get the following error using the generated main.js file:
main.js:314 Uncaught TypeError: Cannot read property 'mg' of undefined
    at Mb (main.js:314)
    at Tn (main.js:699)
    at Rn (main.js:698)
    at Nn.h.Me (main.js:718)
    at Function.Wn.A (main.js:710)
    at Nn.h.Le (main.js:718)
    at Function.Wn.j (main.js:710)
    at ep (main.js:761)
    at main.js:761
Some thoughts
- Am I missing a CLI option? or deps.ednkey/value pair?
- Am I using it wrong; the CLI or deps.ednor both?
- Or is it not well supported at the moment so I should just stick with the CLI?