Fork me on GitHub
#cherry
<
2023-05-12
>
Jakub Šťastný19:05:22

Is there a way to specify where cherry-cljs/lib/cljs_core.js is actually located or is sed -i my best friend? Use-case: I have a small app that doesn't use WebPack at all, so the JS files are actually all modules that are loaded in browser rather than glued together at the compile step.

borkdude19:05:22

You can see it in this HTML page: https://squint-cljs.github.io/cherry/ with view source. Hmm, I noticed that there is a bug though, which I'll fix :)

borkdude19:05:19

See import-map:

{
        "imports": {
          "cherry-cljs": "",
          "cherry-cljs/cljs.core.js": ""
        }
      }
    

clojure-spin 2
Jakub Šťastný19:05:49

Oh great, that's just what I was after.