Replies: 1 comment
-
Language in and language out are in the "less common options" section which I committed from the ClojureScriptCompileOptions type just due to the tediousness if setting up all of the types. Since this is a concrete use case, that's a good enough reason to add support. Not sure when I'll get to it, but this would be part of the next round of updates if no one submits a PR before then. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I'm using
clojurephant.clojurescript
withshadow-cljs
and the@mui/material
node module. When compiling clojurescript code, I get an error:ERROR: JSC_LANGUAGE_FEATURE. This language feature is only supported for ECMASCRIPT_2016 mode or better: exponent operator (**). at .../node_modules/@mui/material/esm/styles/createTransitions.js line 44 : 30
. It seems that the compiler just acceptses5
code.https://clojurescript.org/reference/compiler-options#language-in-and-language-out confirms my suspicion:
How can I configure
:language-in
toes6
?I tried to configure
foreignLibs
in my kotlin-based gradle setup, however without success:This throws an exception when compiling clojurescript code:
Caused by: us.bpsm.edn.EdnException: Don't know how to write '[dev.clojurephant.plugin.clojurescript.tasks.ForeignLib_Decorated@5ad501e9]' of type 'class java.util.TreeMap$Values'
Thanks for helping me.
Beta Was this translation helpful? Give feedback.
All reactions