Fork me on GitHub
#shadow-cljs
<
2023-10-19
>
Casey13:10:41

I have some .edn data files in resources/ that I would like to load in my cljs code. But I'd rather not make an extra http request to get them, is it possible to embed them somehow into the bundle and require them? (these files are generated by other tools, so I can't just wrap them in a (def data ...) in a namespace)

Casey13:10:53

oh brilliant, many thanks.

Casey13:10:33

is there a reason that isn't the the user guide or just an oversight?