This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-12-14
Channels
- # adventofcode (14)
- # announcements (3)
- # babashka (18)
- # beginners (32)
- # calva (1)
- # clj-kondo (65)
- # cljs-dev (5)
- # cljsrn (3)
- # clojure (22)
- # clojure-spec (13)
- # clojure-uk (53)
- # clojured (3)
- # clojuredesign-podcast (50)
- # clojurescript (8)
- # core-async (32)
- # cursive (15)
- # data-science (1)
- # datomic (17)
- # fulcro (48)
- # hyperfiddle (1)
- # off-topic (5)
- # shadow-cljs (2)
- # testing (2)
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?
@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