I'm having issues compiling with helix. Minimal repro:
(ns io.dominic.cljs-sizes.main
(:require [helix.core]))
Compile with:
clojure -Sdeps "{:deps {org.clojure/clojurescript {:mvn/version \"1.10.597\"}}}" -m cljs.main -O advanced -o tmp.js --compile io.dominic.cljs-sizes.main
Deps.edn:
{:deps
{lilactown/helix {:mvn/version "0.0.10"}
cljsjs/react {:mvn/version "16.13.0-0"}
cljsjs/react-dom {:mvn/version "16.13.0-0"}}}
I assume I'm doing something very stupid 🙂. This compile does work when http://helix.coah, just found https://github.com/Lokeh/helix/issues/5 but setting :language-in :es6
didn't seem to help either:
❯ clojure -Sdeps "{:deps {org.clojure/clojurescript {:mvn/version \"1.10.597\"}}}" -m cljs.main -O advanced -o tmp.js -co '{:language-in :es6}' --compile io.dominic.cljs-sizes.main
Unexpected error (IllegalArgumentException) compiling at (REPL:1).
/_SLASH_impl_SLASH_class/js.cljs is not a relative path
Switching to git with sha e4d3c6ab0539980920b421ca61390abb75c995d0 with :language-in set worked.
yeah sorry, compiling with the vanilla CLJS compiler / figwheel doesn’t work with master right now
there are some changes required to import the JS file, but those changes also break shadow-cljs 🙃