This organization was marked as archived by an administrator on Nov 6, 2025. It is no longer maintained.
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.clojurescriptwithshadow-cljsand the@mui/materialnode 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 acceptses5code.https://clojurescript.org/reference/compiler-options#language-in-and-language-out confirms my suspicion:
How can I configure
:language-intoes6?I tried to configure
foreignLibsin 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