r/Clojurescript • u/CuriousDetective0 • Apr 22 '24
Turning clojurescript into a JS module
I have seen writeups on importing JS modules into clojurescript. But If I want to have my clojurescript as a module that can be imported by a JS project, what approaches can be used?
7
Upvotes
View all comments
Show parent comment
1
u/CuriousDetective0 Apr 22 '24
I did see shadow-cljs, but simply copying the acme example I get the below build issue which makes me think it will have more issues using it.
```
shadow-cljs - dependency update failed - Could not find artifact com.sun:tools:jar:1.8.0 at specified path /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/../lib/tools.jar
...
```