luminus

2020-11-28T23:00:05.057700Z

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.