This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-11-28
Channels
- # adventofcode (4)
- # announcements (1)
- # babashka (4)
- # beginners (23)
- # calva (15)
- # cider (8)
- # clj-kondo (30)
- # cljsrn (1)
- # clojure (29)
- # clojure-europe (15)
- # clojure-uk (2)
- # clojurescript (10)
- # community-development (4)
- # cryogen (3)
- # cursive (4)
- # emacs (3)
- # figwheel-main (2)
- # fulcro (13)
- # jobs-discuss (1)
- # kaocha (1)
- # luminus (1)
- # meander (2)
- # off-topic (78)
- # pathom (2)
- # reagent (13)
- # rewrite-clj (56)
- # ring-swagger (2)
- # tools-deps (15)
- # vim (3)
context:
the default luminus + shadow setup creates public/home.html
file which calls style.css, app.css, and app.js
like this:
{% style "/css/screen.css" %}
{% style "/css/app.css" %}
{% script "/js/app.js" %}
I would like to add some hashing to break caches:
app[md5].js
To do this, I see that shadow has the option:
:module-hash-names true
After that, I guess what I would do is to use their manifest.json
to manually pass in that path at some point in the build step.
Before I make my own solution, if ya’ll have done this before or know a repo that’s good to take inspiration from, let me know.