Fork me on GitHub
#shadow-cljs
<
2019-12-14
>
wilkerlucio17:12:00

hello, is there a way to bundle assets with packages for front-end usage with shadow these days? my case is that I'm writing a library to have the design system things of the company, and those could be used in many projects, for variables I can just use clojure code, but I'm wondering about things like fonts, is there a way to bundle the fonts with the package and use them from cljs?

knubie04:12:53

@U066U8JQJ I don't believe it's documented in the user guide, but maybe shadow.resource might work for you? https://clojureverse.org/t/using-none-code-resources-in-cljs-builds/3745

👍 4