I'm so pleased with Cherry @borkdude! So great for writing WebComponents. For a simple few pages long landing pages, ShadowCLJS is an overkill, Cherry has precisely what I need. Thank you for all your great work 🙏
Curious what you used to build your Js bundles?
Hey @martinklepsch. I'm going to make my site public soon, it's very simple, just a few landing pages, but I think even like that it can be useful. It's so simple I don't really use any bundle, I just minify JS & CSS by a simple fn and include them directly. I don't use any libraries, only built-in JS fns, so it's all very compact.
I have a custom build system to deal with CSS minimisation, JS compilation & minimisation, including required svgs from font-awesome and building the HTML files which I have in EDN files with :title, :path and :content in hiccup. All of it is really basic, nothing fancy, that's the beauty of it. WebPack was too elaborate for my taste.
By the way can Cherry be used from JVM Clojure / from Babashka? Or only from NPM? Just asking, don't really use NPM for that project, but I do have CLJ code.
@jakub.stastny.pt_serv Great to hear. #squint at least can be used from the JVM, cherry theoretically too, but I haven't tested lately
Alright, good to know, I will try. Is there any code that shows the setup with #squint? If not, no pressure, just asking.
here's a squint example: https://github.com/squint-cljs/squint/blob/main/examples/babashka/index.clj