Fork me on GitHub
#cljsjs
<
2016-09-26
>
eyelidlessness22:09:19

if a package includes a CSS file, how can i access that file? (note i’ve found some discussion around doing this with boot, but i’m using lein)

martinklepsch22:09:07

@eyelidlessness you can use io/resource, the jar contents are on the classpath

martinklepsch22:09:42

(io/resource "cljsjs/dropzone/common/dropzone.min.css) — something like this

eyelidlessness22:09:13

^ of course the first thing i read

juhoteperi22:09:43

"Importing using Less/Sass compiler" works with Lein also